mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Add controllers to provide comics information from reading lists and labels
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user