2019-05-30 19:46:37 +02:00

25 lines
561 B
C++

#ifndef FOLDERINFOCONTROLLER_H
#define FOLDERINFOCONTROLLER_H
#include "httprequest.h"
#include "httpresponse.h"
#include "httprequesthandler.h"
class FolderInfoController : public HttpRequestHandler
{
Q_OBJECT
Q_DISABLE_COPY(FolderInfoController);
public:
/** Constructor */
FolderInfoController();
/** Generates the response */
void service(HttpRequest &request, HttpResponse &response);
private:
void serviceComics(const int &library, const qulonglong &folderId, HttpResponse &response);
};
#endif // FOLDERINFOCONTROLLER_H