mirror of
https://github.com/Relintai/mourne_rcpp_fw.git
synced 2024-12-27 23:17:11 +01:00
33 lines
577 B
C++
33 lines
577 B
C++
#ifndef VILLAGE_CONTROLLER_H
|
|
#define VILLAGE_CONTROLLER_H
|
|
|
|
#include "core/string.h"
|
|
#include "core/containers/vector.h"
|
|
|
|
#include "core/object.h"
|
|
|
|
#include "village.h"
|
|
|
|
class Request;
|
|
class FormValidator;
|
|
|
|
class VillageController : public Object {
|
|
RCPP_OBJECT(VillageController, Object);
|
|
|
|
public:
|
|
void create_table();
|
|
void drop_table();
|
|
void create_default_entries();
|
|
|
|
virtual void handle_request_default(Request *request);
|
|
|
|
static VillageController *get_singleton();
|
|
|
|
VillageController();
|
|
~VillageController();
|
|
|
|
protected:
|
|
static VillageController *_self;
|
|
};
|
|
|
|
#endif |