2018-11-03 17:12:20 +01:00
|
|
|
#ifndef HANDLERALLCATEGORIES_H
|
|
|
|
#define HANDLERALLCATEGORIES_H
|
|
|
|
|
|
|
|
#include "handler.h"
|
|
|
|
|
|
|
|
class HandlerAllCategories : public Handler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
HandlerAllCategories();
|
|
|
|
using Handler::Handler;
|
2019-05-03 15:59:29 +02:00
|
|
|
Response handleRequest(const Request &r) override;
|
|
|
|
std::string accessErrorMessage() override;
|
|
|
|
bool canAccess(const Permissions &perms) override;
|
2018-11-03 17:12:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // HANDLERALLCATEGORIES_H
|