cutelyst 3.9.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
staticcompressed.h
1/*
2 * SPDX-FileCopyrightText: (C) 2017-2022 Matthias Fehring <mf@huessenbergnetz.de>
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5#ifndef STATICCOMPRESSED_H
6#define STATICCOMPRESSED_H
7
8#include <Cutelyst/Plugin>
9#include <Cutelyst/cutelyst_global.h>
10
11namespace Cutelyst {
12
13class StaticCompressedPrivate;
14
134class CUTELYST_PLUGIN_STATICCOMPRESSED_EXPORT StaticCompressed : public Plugin
135{
137 Q_DECLARE_PRIVATE(StaticCompressed)
138public:
143
147 virtual ~StaticCompressed() override;
148
155 void setIncludePaths(const QStringList &paths);
156
161 void setDirs(const QStringList &dirs);
162
169 virtual bool setup(Application *app) override;
170
171protected:
173};
174
175} // namespace Cutelyst
176
177#endif // STATICCOMPRESSED_H
The Cutelyst Application.
Definition application.h:43
Plugin(Application *parent)
Definition plugin.cpp:12
void setIncludePaths(const QStringList &paths)
void setDirs(const QStringList &dirs)
StaticCompressed(Application *parent)
virtual bool setup(Application *app) override
The Cutelyst namespace holds all public Cutelyst API.
Definition Mainpage.dox:8
Q_OBJECTQ_OBJECT
QObject * parent() const const