cutelyst 3.9.1
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_global.h>
9
10#include <QtCore/qhash.h>
11#include <QtCore/qobject.h>
12#include <QtCore/qstring.h>
13
14namespace Cutelyst {
15
16class Application;
17class CUTELYST_LIBRARY Plugin : public QObject
18{
20public:
25
30 virtual bool setup(Application *app);
31};
32
33} // namespace Cutelyst
34
35#endif // CUTELYSTPLUGIN_H
The Cutelyst Application.
Definition application.h:43
virtual bool setup(Application *app)
Definition plugin.cpp:17
Plugin(Application *parent)
Definition plugin.cpp:12
The Cutelyst namespace holds all public Cutelyst API.
Definition Mainpage.dox:8
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
QObject * parent() const const