Add controllers to provide comics information from reading lists and labels

This commit is contained in:
Luis Ángel San Martín
2018-05-01 11:54:00 +02:00
parent 0e45767e67
commit d3bb598a7d
6 changed files with 173 additions and 29 deletions

View File

@ -0,0 +1,22 @@
#ifndef READINGLISTINFOCONTROLLER_V2_H
#define READINGLISTINFOCONTROLLER_V2_H
#include "httprequest.h"
#include "httpresponse.h"
#include "httprequesthandler.h"
class ReadingListInfoControllerV2 : public HttpRequestHandler {
Q_OBJECT
Q_DISABLE_COPY(ReadingListInfoControllerV2)
public:
ReadingListInfoControllerV2();
void service(HttpRequest& request, HttpResponse& response);
private:
void serviceComics(const int &library, const qulonglong & readingListId, HttpResponse& response);
};
#endif // READINGLISTINFOCONTROLLER_V2_H