mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
29 lines
635 B
C++
29 lines
635 B
C++
#ifndef RDN_APPLICATION_H
|
|
#define RDN_APPLICATION_H
|
|
|
|
#include "core/application.h"
|
|
#include "core/theme.h"
|
|
#include "core/object.h"
|
|
|
|
#include "modules/message_page/message_page.h"
|
|
|
|
class RDNApplication : public Application {
|
|
public:
|
|
static void index(Object *instance, Request *request);
|
|
|
|
static void session_middleware_func(Object* instance, Request *request);
|
|
|
|
static void message_page_func(Object *instance, Request *request);
|
|
|
|
virtual void setup_routes();
|
|
virtual void setup_middleware();
|
|
|
|
RDNApplication();
|
|
~RDNApplication();
|
|
|
|
std::vector<Theme *> themes;
|
|
|
|
MessagePage *message_page;
|
|
};
|
|
|
|
#endif |