rcpp_framework/modules/admin_panel/admin_panel.h

27 lines
414 B
C
Raw Normal View History

2021-10-31 23:11:48 +01:00
#ifndef ADMIN_PANEL_H
#define ADMIN_PANEL_H
#include "core/http/controller.h"
#include <string>
class Request;
class FormValidator;
class AdminPanel : public Controller {
RCPP_OBJECT(AdminPanel, Controller);
public:
void handle_request_main(Request *request);
void create_validators();
static AdminPanel *get_singleton();
AdminPanel();
~AdminPanel();
protected:
static AdminPanel *_self;
};
#endif