mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Added render and render_preview virtual methods to WebNode. This will make the reusability of nodes even better.
This commit is contained in:
parent
75c5145370
commit
34e669c55b
@ -154,6 +154,11 @@ void WebNode::handle_error_send_request(Request *request, const int error_code)
|
||||
request->send();
|
||||
}
|
||||
|
||||
void WebNode::render(Request *request) {
|
||||
}
|
||||
void WebNode::render_preview(Request *request) {
|
||||
}
|
||||
|
||||
void WebNode::render_menu(Request *request) {
|
||||
WebNode *root = get_root();
|
||||
|
||||
|
@ -46,6 +46,10 @@ public:
|
||||
virtual void handle_request_main(Request *request);
|
||||
virtual void _handle_request_main(Request *request);
|
||||
virtual void handle_error_send_request(Request *request, const int error_code);
|
||||
|
||||
virtual void render(Request *request);
|
||||
virtual void render_preview(Request *request);
|
||||
|
||||
virtual void render_menu(Request *request);
|
||||
virtual void _render_menu(Request *request);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user