Cutelyst
3.5.0
Cutelyst
Plugins
View
Grantlee
cutelystgrantlee.h
1
/*
2
* SPDX-FileCopyrightText: (C) 2017-2022 Daniel Nicoletti <dantti12@gmail.com>
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
#ifndef CUTELYSTGRANTLEE_H
6
#define CUTELYSTGRANTLEE_H
7
8
#ifndef DOXYGEN_SHOULD_SKIP_THIS
9
10
#include <grantlee/taglibraryinterface.h>
11
12
#if defined(cutelyst_grantlee_urifor_EXPORTS)
13
# define CUTELYST_GRANTLEE_URIFOR_EXPORT Q_DECL_EXPORT
14
#else
15
# define CUTELYST_GRANTLEE_URIFOR_EXPORT Q_DECL_IMPORT
16
#endif
17
18
class
CutelystGrantlee final :
public
QObject
,
public
Grantlee::TagLibraryInterface
19
{
20
Q_OBJECT
21
Q_PLUGIN_METADATA(IID
"org.grantlee.TagLibraryInterface/1.0"
)
22
Q_INTERFACES(Grantlee::TagLibraryInterface)
23
public
:
24
explicit
CutelystGrantlee(
QObject
*parent =
nullptr
);
25
26
virtual
QHash<QString, Grantlee::AbstractNodeFactory *>
nodeFactories(
const
QString
&name =
QString
())
override
;
27
28
virtual
QHash<QString, Grantlee::Filter *>
filters(
const
QString
&name =
QString
())
override
;
29
};
30
31
#endif
32
33
#endif // CUTELYSTGRANTLEE_H
QHash
QObject
QString
Generated by
1.8.14