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