mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
27 lines
446 B
C++
27 lines
446 B
C++
#ifndef RBAC_CONTROLLER_H
|
|
#define RBAC_CONTROLLER_H
|
|
|
|
#include "core/http/controller.h"
|
|
|
|
#include <string>
|
|
|
|
class Request;
|
|
class FormValidator;
|
|
|
|
class RBACController : public Controller {
|
|
RCPP_OBJECT(RBACController, Controller);
|
|
|
|
public:
|
|
void handle_request_main(Request *request);
|
|
void create_validators();
|
|
|
|
static RBACController *get_singleton();
|
|
|
|
RBACController();
|
|
~RBACController();
|
|
|
|
protected:
|
|
static RBACController *_self;
|
|
};
|
|
|
|
#endif |