qswiki/handlers/handlerpageedit.h

21 wiersze
429 B
C
Czysty Zwykły widok Historia

2018-11-03 17:12:20 +01:00
#ifndef HANDLERPAGEEDI_H
#define HANDLERPAGEEDI_H
#include "handlerpage.h"
#include "../page.h"
class HandlerPageEdit : public HandlerPage
{
protected:
bool pageMustExist() override;
bool canAccess(std::string page) override;
public:
Response handleRequest(PageDao &pageDao, std::string pagename, const Request &r) override;
~HandlerPageEdit() override { }
using HandlerPage::HandlerPage;
};
#endif // HANDLERPAGEEDI_H