2020-12-01 13:47:02 +01:00
|
|
|
#ifndef MESSAGE_PAGE_H
|
|
|
|
#define MESSAGE_PAGE_H
|
|
|
|
|
2021-11-01 19:53:35 +01:00
|
|
|
#include "core/containers/vector.h"
|
|
|
|
#include "core/string.h"
|
2020-12-01 17:01:59 +01:00
|
|
|
|
2022-02-05 15:30:48 +01:00
|
|
|
#include "web/http/web_node.h"
|
2020-12-01 13:47:02 +01:00
|
|
|
|
2022-02-05 15:30:48 +01:00
|
|
|
#include "web/http/request.h"
|
2020-12-01 17:01:59 +01:00
|
|
|
|
|
|
|
|
2022-01-08 12:52:52 +01:00
|
|
|
class MessagePage : public WebNode {
|
|
|
|
RCPP_OBJECT(MessagePage, WebNode);
|
2020-12-01 13:47:02 +01:00
|
|
|
|
|
|
|
public:
|
2022-01-08 12:52:52 +01:00
|
|
|
void handle_request_main(Request *request);
|
2020-12-01 17:01:59 +01:00
|
|
|
|
2022-01-13 23:45:38 +01:00
|
|
|
void _migrate(const bool clear, const bool seed_db);
|
2020-12-01 23:37:10 +01:00
|
|
|
|
2020-12-01 17:01:59 +01:00
|
|
|
MessagePage();
|
|
|
|
~MessagePage();
|
2020-12-01 13:47:02 +01:00
|
|
|
|
2021-11-01 19:53:35 +01:00
|
|
|
Vector<String> messages;
|
2020-12-01 13:47:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|