mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Add new controller for requesting the "full" information for a comic.
For now it doesn't serve the full information, only the information shown in the current/next comic view in iOS. I will see if I create two separated controllers or just on sending all the information when more information is needed in another iOS view.
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
#ifndef COMICFULLINFOCONTROLLER_V2_H
|
||||
#define COMICFULLINFOCONTROLLER_V2_H
|
||||
|
||||
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
|
||||
|
||||
|
||||
class ComicFullinfoController_v2 : public HttpRequestHandler {
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(ComicFullinfoController_v2)
|
||||
public:
|
||||
ComicFullinfoController_v2();
|
||||
|
||||
void service(HttpRequest& request, HttpResponse& response);
|
||||
|
||||
private:
|
||||
void serviceContent(const int &library, const qulonglong &comicId, HttpResponse &response);
|
||||
};
|
||||
|
||||
#endif // COMICFULLINFOCONTROLLER_V2_H
|
Reference in New Issue
Block a user