mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
Separate v1 and v2 server api classes and execution path.
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
#ifndef READINGLISTCONTENTCONTROLLER_V2_H
|
||||
#define READINGLISTCONTENTCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
|
||||
class ReadingListContentControllerV2 : public HttpRequestHandler {
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(ReadingListContentControllerV2)
|
||||
public:
|
||||
ReadingListContentControllerV2();
|
||||
|
||||
void service(HttpRequest& request, HttpResponse& response);
|
||||
|
||||
private:
|
||||
void serviceContent(const int &library, const qulonglong &readingListId, HttpResponse &response);
|
||||
};
|
||||
|
||||
#endif // READINGLISTCONTENTCONTROLLER_H
|
Reference in New Issue
Block a user