cutelyst  3.7.0
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 : public QObject, public Cutelee::TagLibraryInterface
19 {
20  Q_OBJECT
21  Q_INTERFACES(Cutelee::TagLibraryInterface)
22 public:
23  explicit CutelystCutelee(QObject *parent = nullptr);
24 
25  virtual QHash<QString, Cutelee::AbstractNodeFactory *> nodeFactories(const QString &name = QString()) override;
26 
27  virtual QHash<QString, Cutelee::Filter *> filters(const QString &name = QString()) override;
28 };
29 
30 #endif
31 
32 #endif // CUTELYSTCUTELEE_H