mirror of
https://github.com/Relintai/mourne_rcpp_fw.git
synced 2024-11-13 05:57:21 +01:00
35 lines
704 B
C++
35 lines
704 B
C++
#include "village_controller.h"
|
|
|
|
#include "core/html/form_validator.h"
|
|
#include "core/html/html_builder.h"
|
|
#include "core/http/cookie.h"
|
|
#include "core/http/http_session.h"
|
|
#include "core/http/request.h"
|
|
#include "core/http/session_manager.h"
|
|
|
|
|
|
void VillageController::handle_request_default(Request *request) {
|
|
}
|
|
|
|
VillageController *VillageController::get_singleton() {
|
|
return _self;
|
|
}
|
|
|
|
VillageController::VillageController() :
|
|
Object() {
|
|
|
|
if (_self) {
|
|
printf("VillageController::VillageController(): Error! self is not null!/n");
|
|
}
|
|
|
|
_self = this;
|
|
}
|
|
|
|
VillageController::~VillageController() {
|
|
if (_self == this) {
|
|
_self = nullptr;
|
|
}
|
|
}
|
|
|
|
VillageController *VillageController::_self = nullptr;
|