mourne_rcpp_fw/app/mourne_user_controller.h

25 lines
731 B
C
Raw Normal View History

#ifndef MOURNE_USER_CONTROLLER_H
#define MOURNE_USER_CONTROLLER_H
#include "modules/users/user_controller.h"
#include <string>
#include "modules/users/user.h"
class Request;
class FormValidator;
class MourneUserController : public UserController {
2021-10-31 14:33:22 +01:00
RCPP_OBJECT(MourneUserController, UserController);
public:
void render_login_request_default(Request *request, LoginRequestData *data);
void render_register_request_default(Request *request, RegisterRequestData *data);
2021-10-31 10:28:19 +01:00
void render_login_success(Request *request);
void render_already_logged_in_error(Request *request);
void render_settings_request(Ref<User> &user, Request *request, SettingsRequestData *data);
MourneUserController();
~MourneUserController();
};
#endif