cutelyst  4.4.0
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
plugin.h
1 /*
2  * SPDX-FileCopyrightText: (C) 2013-2022 Daniel Nicoletti <dantti12@gmail.com>
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 #ifndef CUTELYSTPLUGIN_H
6 #define CUTELYSTPLUGIN_H
7 
8 #include <Cutelyst/cutelyst_export.h>
9 
10 #include <QtCore/qhash.h>
11 #include <QtCore/qobject.h>
12 #include <QtCore/qstring.h>
13 
14 namespace Cutelyst {
15 
16 class Application;
24 class CUTELYST_EXPORT Plugin : public QObject
25 {
26  Q_OBJECT
27 public:
31  Plugin(Application *parent);
32 
37  virtual bool setup(Application *app);
38 };
39 
40 } // namespace Cutelyst
41 
42 #endif // CUTELYSTPLUGIN_H
The Cutelyst application.
Definition: application.h:66
Base class for Cutelyst Plugins.
Definition: plugin.h:25
The Cutelyst namespace holds all public Cutelyst API.