mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Inherit WebApplication from Object.
This commit is contained in:
parent
e32593da4c
commit
557c2a3934
@ -13,7 +13,9 @@
|
||||
|
||||
class Request;
|
||||
|
||||
class WebApplication {
|
||||
class WebApplication : public Object {
|
||||
RCPP_OBJECT(WebApplication, Object);
|
||||
|
||||
public:
|
||||
static std::string default_error_404_body;
|
||||
static std::string default_generic_error_body;
|
||||
|
@ -30,6 +30,8 @@ using namespace drogon;
|
||||
class Request;
|
||||
|
||||
class DWebApplication : public WebApplication {
|
||||
RCPP_OBJECT(DWebApplication, WebApplication);
|
||||
|
||||
public:
|
||||
void load_settings();
|
||||
void setup_routes();
|
||||
|
Loading…
Reference in New Issue
Block a user