mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
28 lines
431 B
C++
28 lines
431 B
C++
#ifndef PAGED_LIST_H
|
|
#define PAGED_LIST_H
|
|
|
|
#include "core/object.h"
|
|
|
|
#include "core/string.h"
|
|
|
|
#include "modules/list_page/list_page.h"
|
|
#include "modules/paged_article/paged_article.h"
|
|
|
|
class PagedList : public Object {
|
|
RCPP_OBJECT(PagedList, Object);
|
|
|
|
public:
|
|
void index(Request *request);
|
|
|
|
void load();
|
|
|
|
PagedList();
|
|
~PagedList();
|
|
|
|
ListPage *main_page;
|
|
PagedArticle *articles;
|
|
String folder;
|
|
String base_path;
|
|
};
|
|
|
|
#endif |