mirror of
https://github.com/Relintai/broken_seals_dot_net.git
synced 2024-11-07 17:12:09 +01:00
41 lines
814 B
C++
41 lines
814 B
C++
#ifndef BS_ROOT_H
|
|
#define BS_ROOT_H
|
|
|
|
//#include "web/http/web_application.h"
|
|
#include "core/object.h"
|
|
#include "web/http/web_root.h"
|
|
|
|
#undef LOG_TRACE
|
|
#undef LOG_WARN
|
|
|
|
#include "web_modules/list_page/list_page.h"
|
|
#include "web_modules/message_page/message_page.h"
|
|
#include "web_modules/paged_article/paged_article.h"
|
|
#include "web_modules/paged_article/paged_articles.h"
|
|
#include "web_modules/paged_article/paged_articles_md_index.h"
|
|
|
|
class AdminPanel;
|
|
class UserController;
|
|
class MenuNode;
|
|
class PageManager;
|
|
|
|
class BSRoot : public WebRoot {
|
|
RCPP_OBJECT(BSRoot, WebRoot);
|
|
|
|
public:
|
|
void _handle_request_main(Request *request);
|
|
|
|
void _render_menu(Request *request);
|
|
|
|
bool is_logged_in(Request *request);
|
|
|
|
void compile_menu();
|
|
|
|
BSRoot();
|
|
~BSRoot();
|
|
|
|
static String menu_head;
|
|
static String footer;
|
|
};
|
|
|
|
#endif |