Cutelyst  3.5.0
cutelystgrantlee.cpp
1 /*
2  * SPDX-FileCopyrightText: (C) 2017-2022 Daniel Nicoletti <dantti12@gmail.com>
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 #include "cutelystgrantlee.h"
6 
7 #include "urifor.h"
8 #include "csrf.h"
9 
10 CutelystGrantlee::CutelystGrantlee(QObject *parent) : QObject(parent)
11 {
12 }
13 
14 QHash<QString, Grantlee::AbstractNodeFactory *> CutelystGrantlee::nodeFactories(const QString &name)
15 {
16  Q_UNUSED(name)
17 
19  {QStringLiteral("c_uri_for"), new UriForTag()},
20  {QStringLiteral("c_csrf_token"), new CSRFTag()},
21  };
22 
23  return ret;
24 }
25 
26 QHash<QString, Grantlee::Filter *> CutelystGrantlee::filters(const QString &name)
27 {
28  Q_UNUSED(name)
29 
31 
32  return ret;
33 }
34 
35 #include "moc_cutelystgrantlee.cpp"