mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02:00
Added RCPP_OBJECT declarations to 2 objects.
This commit is contained in:
parent
ebb5d57fb9
commit
4aa9a28ed5
@ -10,6 +10,8 @@ class Request;
|
|||||||
class FormValidator;
|
class FormValidator;
|
||||||
|
|
||||||
class UserController : public Object {
|
class UserController : public Object {
|
||||||
|
RCPP_OBJECT(UserController, Object);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void handle_request_default(Request *request);
|
virtual void handle_request_default(Request *request);
|
||||||
|
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class UserModel : public Object {
|
class UserModel : public Object {
|
||||||
|
RCPP_OBJECT(UserModel, Object);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Ref<User> get_user(const int id);
|
Ref<User> get_user(const int id);
|
||||||
Ref<User> get_user(const std::string &user_name_input);
|
Ref<User> get_user(const std::string &user_name_input);
|
||||||
|
Loading…
Reference in New Issue
Block a user