cutelyst
3.9.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Cutelyst
Plugins
StaticCompressed
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
11
namespace
Cutelyst
{
12
13
class
StaticCompressedPrivate;
14
132
class
CUTELYST_PLUGIN_STATICCOMPRESSED_EXPORT
StaticCompressed
:
public
Plugin
133
{
134
Q_OBJECT
135
Q_DECLARE_PRIVATE(
StaticCompressed
)
136
public
:
140
explicit
StaticCompressed
(
Application
*parent);
141
145
virtual
~StaticCompressed
()
override
;
146
153
void
setIncludePaths(
const
QStringList
&paths);
154
159
void
setDirs(
const
QStringList
&dirs);
160
167
virtual
bool
setup(
Application
*app)
override
;
168
169
protected
:
170
QScopedPointer<StaticCompressedPrivate>
d_ptr;
171
};
172
173
}
// namespace Cutelyst
174
175
#endif
// STATICCOMPRESSED_H
Cutelyst::Application
The Cutelyst Application.
Definition
application.h:43
Cutelyst::Plugin
Definition
plugin.h:18
Cutelyst::StaticCompressed
Deliver static files compressed on the fly or precompressed.
Definition
staticcompressed.h:133
Cutelyst
The Cutelyst namespace holds all public Cutelyst API.
Definition
Mainpage.dox:8
QScopedPointer
QStringList
Generated on Mon Oct 6 2025 13:57:24 for cutelyst by
1.9.7