rcpp_framework/modules/paged_list/paged_list.h

28 lines
454 B
C
Raw Normal View History

2021-07-07 10:47:37 +02:00
#ifndef PAGED_LIST_H
#define PAGED_LIST_H
#include "core/string.h"
2021-07-07 10:47:37 +02:00
2022-01-08 12:54:36 +01:00
#include "core/http/web_node.h"
2021-07-07 10:47:37 +02:00
#include "modules/list_page/list_page.h"
#include "modules/paged_article/paged_article.h"
2022-01-08 12:54:36 +01:00
class PagedList : public WebNode {
RCPP_OBJECT(PagedList, WebNode);
2021-07-07 10:47:37 +02:00
public:
2022-01-08 12:54:36 +01:00
void handle_request_main(Request *request);
2021-07-07 10:47:37 +02:00
void load();
PagedList();
~PagedList();
ListPage *main_page;
PagedArticle *articles;
String folder;
String base_path;
2021-07-07 10:47:37 +02:00
};
#endif