cutelyst  5.0.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
cutelystcutelee.h
1 /*
2  * SPDX-FileCopyrightText: (C) 2017-2022 Daniel Nicoletti <dantti12@gmail.com>
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 #ifndef CUTELYSTCUTELEE_H
6 #define CUTELYSTCUTELEE_H
7 
8 #ifndef DOXYGEN_SHOULD_SKIP_THIS
9 
10 # include <cutelee/taglibraryinterface.h>
11 
12 # if defined(cutelyst_cutelee_urifor_EXPORTS)
13 # define CUTELYST_CUTELEE_URIFOR_EXPORT Q_DECL_EXPORT
14 # else
15 # define CUTELYST_CUTELEE_URIFOR_EXPORT Q_DECL_IMPORT
16 # endif
17 
18 class CutelystCutelee final
19  : public QObject
20  , public Cutelee::TagLibraryInterface
21 {
22  Q_OBJECT
23  Q_INTERFACES(Cutelee::TagLibraryInterface)
24 public:
25  explicit CutelystCutelee(QObject *parent = nullptr);
26 
27  QHash<QString, Cutelee::AbstractNodeFactory *> nodeFactories(const QString &name = {}) override;
28 
29  QHash<QString, Cutelee::Filter *> filters(const QString &name = {}) override;
30 };
31 
32 #endif
33 
34 #endif // CUTELYSTCUTELEE_H
Q_INTERFACES(...)