2022-07-22 14:41:51 +02:00
|
|
|
#ifndef USER_WEB_PAGE_H
|
|
|
|
#define USER_WEB_PAGE_H
|
2022-07-22 13:40:22 +02:00
|
|
|
|
|
|
|
#include "core/reference.h"
|
|
|
|
#include "core/ustring.h"
|
|
|
|
#include "core/vector.h"
|
|
|
|
|
|
|
|
#include "modules/web/http/web_node.h"
|
|
|
|
|
|
|
|
class WebServerRequest;
|
|
|
|
|
2022-07-22 14:41:51 +02:00
|
|
|
class UserWebPage : public WebNode {
|
|
|
|
GDCLASS(UserWebPage, WebNode);
|
2022-07-22 13:40:22 +02:00
|
|
|
|
|
|
|
public:
|
2022-07-23 12:25:11 +02:00
|
|
|
enum RenderType {
|
|
|
|
RENDER_TYPE_RENDER = 0,
|
|
|
|
RENDER_TYPE_REDIRECT,
|
|
|
|
RENDER_TYPE_ERROR,
|
|
|
|
};
|
|
|
|
|
|
|
|
//Render type + sopport properties for it, when the user is logged in, and when not logged in
|
|
|
|
|
2022-07-22 14:41:51 +02:00
|
|
|
UserWebPage();
|
|
|
|
~UserWebPage();
|
2022-07-22 13:40:22 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|