2020-12-01 13:47:02 +01:00
|
|
|
#ifndef MESSAGE_PAGE_H
|
|
|
|
#define MESSAGE_PAGE_H
|
|
|
|
|
2020-12-01 17:01:59 +01:00
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
|
2020-12-01 13:47:02 +01:00
|
|
|
#include "core/object.h"
|
|
|
|
|
2021-05-27 17:37:23 +02:00
|
|
|
#include "core/http/request.h"
|
2020-12-01 17:01:59 +01:00
|
|
|
|
|
|
|
|
2020-12-01 13:47:02 +01:00
|
|
|
class MessagePage : public Object {
|
|
|
|
RCPP_OBJECT(MessagePage, Object);
|
|
|
|
|
|
|
|
public:
|
2020-12-01 17:01:59 +01:00
|
|
|
void index(Request *request);
|
|
|
|
|
2020-12-01 23:37:10 +01:00
|
|
|
void migrate();
|
|
|
|
|
2020-12-01 17:01:59 +01:00
|
|
|
MessagePage();
|
|
|
|
~MessagePage();
|
2020-12-01 13:47:02 +01:00
|
|
|
|
2020-12-01 17:01:59 +01:00
|
|
|
std::vector<std::string> messages;
|
2020-12-01 13:47:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|