5 #ifndef STATICCOMPRESSED_H 6 #define STATICCOMPRESSED_H 8 #include <Cutelyst/Plugin> 9 #include <Cutelyst/cutelyst_global.h> 13 class StaticCompressedPrivate;
176 class CUTELYST_PLUGIN_STATICCOMPRESSED_EXPORT
177 StaticCompressed :
public Plugin
180 Q_DECLARE_PRIVATE(StaticCompressed)
181 Q_DISABLE_COPY(StaticCompressed)
186 explicit StaticCompressed(Application *parent);
196 StaticCompressed(Application *parent,
const QVariantMap &defaultConfig);
201 ~StaticCompressed()
override;
246 void setServeDirsOnly(
bool dirsOnly);
254 bool setup(Application *app)
override;
257 std::unique_ptr<StaticCompressedPrivate> d_ptr;
262 #endif // STATICCOMPRESSED_H The Cutelyst namespace holds all public Cutelyst API.