mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
- Adapt server code for QtWebapp namespace 'stefanfrings' - Implement custom modifications needed by v1 controller via template engine - Unify iphone and ipad templates
22 lines
570 B
C++
22 lines
570 B
C++
#ifndef READINGCOMICSCONTROLLER_V2_H
|
|
#define READINGCOMICSCONTROLLER_V2_H
|
|
|
|
#include "httprequest.h"
|
|
#include "httpresponse.h"
|
|
#include "httprequesthandler.h"
|
|
|
|
class ReadingComicsControllerV2 : public stefanfrings::HttpRequestHandler
|
|
{
|
|
Q_OBJECT
|
|
Q_DISABLE_COPY(ReadingComicsControllerV2)
|
|
public:
|
|
ReadingComicsControllerV2();
|
|
|
|
void service(stefanfrings::HttpRequest &request, stefanfrings::HttpResponse &response) override;
|
|
|
|
private:
|
|
void serviceContent(const int &library, stefanfrings::HttpResponse &response);
|
|
};
|
|
|
|
#endif // READINGCOMICSCONTROLLER_H
|