mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Separate v1 and v2 server api classes and execution path.
This commit is contained in:
23
YACReaderLibrary/server/controllers/v2/comiccontroller_v2.h
Normal file
23
YACReaderLibrary/server/controllers/v2/comiccontroller_v2.h
Normal file
@ -0,0 +1,23 @@
|
||||
#ifndef COMICCONTROLLER_V2_H
|
||||
#define COMICCONTROLLER_V2_H
|
||||
|
||||
#include "httprequest.h"
|
||||
#include "httpresponse.h"
|
||||
#include "httprequesthandler.h"
|
||||
|
||||
#include <QThread>
|
||||
class Comic;
|
||||
class QString;
|
||||
|
||||
class ComicControllerV2 : public HttpRequestHandler {
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(ComicControllerV2)
|
||||
public:
|
||||
/** Constructor */
|
||||
ComicControllerV2();
|
||||
|
||||
/** Generates the response */
|
||||
void service(HttpRequest& request, HttpResponse& response);
|
||||
};
|
||||
|
||||
#endif // COMICCONTROLLER_H
|
Reference in New Issue
Block a user