qswiki/handlers/handlerpagedelete.h

19 linhas
421 B
C

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