cutelyst 4.3.0
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
cutelystcutelee.cpp
1/*
2 * SPDX-FileCopyrightText: (C) 2017-2022 Daniel Nicoletti <dantti12@gmail.com>
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5#include "cutelystcutelee.h"
6
7#include "csrf.h"
8#include "urifor.h"
9
10CutelystCutelee::CutelystCutelee(QObject *parent)
11 : QObject(parent)
12{
13}
14
15QHash<QString, Cutelee::AbstractNodeFactory *> CutelystCutelee::nodeFactories(const QString &name)
16{
17 Q_UNUSED(name)
18
20 {QStringLiteral("c_uri_for"), new UriForTag()},
21 {QStringLiteral("c_csrf_token"), new CSRFTag()},
22 {QStringLiteral("c_csrf_token_value"), new CSRFTokenTag()}};
23
24 return ret;
25}
26
27QHash<QString, Cutelee::Filter *> CutelystCutelee::filters(const QString &name)
28{
29 Q_UNUSED(name)
30
32
33 return ret;
34}
35
36#include "moc_cutelystcutelee.cpp"