2020-12-26 00:18:11 +01:00
|
|
|
#ifndef LIST_PAGE_H
|
|
|
|
#define LIST_PAGE_H
|
|
|
|
|
2021-11-01 19:53:35 +01:00
|
|
|
#include "core/containers/vector.h"
|
|
|
|
#include "core/string.h"
|
2020-12-26 00:18:11 +01:00
|
|
|
|
|
|
|
#include "core/object.h"
|
|
|
|
|
2021-05-27 17:37:23 +02:00
|
|
|
#include "core/http/request.h"
|
2020-12-26 00:18:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
class ListPage : public Object {
|
|
|
|
RCPP_OBJECT(ListPage, Object);
|
|
|
|
|
|
|
|
public:
|
|
|
|
void index(Request *request);
|
|
|
|
|
2020-12-26 17:50:47 +01:00
|
|
|
void load();
|
|
|
|
|
2020-12-26 00:18:11 +01:00
|
|
|
ListPage();
|
|
|
|
~ListPage();
|
|
|
|
|
2021-11-01 19:53:35 +01:00
|
|
|
Vector<String> list_entries;
|
|
|
|
String folder;
|
2020-12-26 00:18:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|