7#include <Cutelyst/action.h>
8#include <Cutelyst/context.h>
9#include <Cutelyst/cutelyst_global.h>
10#include <Cutelyst/request.h>
11#include <Cutelyst/response.h>
16#define C_PATH(X, Y) Q_CLASSINFO(STR(X##_Path), STR(Y))
23#define C_NAMESPACE(value) Q_CLASSINFO("Namespace", value)
41#define C_ATTR(X, Y) Q_CLASSINFO(STR(X), STR(Y)) Q_INVOKABLE
46#define CActionFor(str) \
47 ([this]() -> Cutelyst::Action * { \
48 static thread_local Cutelyst::Action *action = Cutelyst::Controller::actionFor(str); \
54class ControllerPrivate;
76 [[nodiscard]]
QString ns()
const noexcept;
90 [[nodiscard]]
ActionList actions()
const noexcept;
95 bool operator==(
const char *className);
125 ControllerPrivate *d_ptr;
This class represents a Cutelyst Action.
The Cutelyst application.
Cutelyst Controller base class.
The Cutelyst namespace holds all public Cutelyst API.