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
24 lines
508 B
C++
24 lines
508 B
C++
#ifndef VERSIONCONTROLLER_H
|
|
#define VERSIONCONTROLLER_H
|
|
|
|
#include "httprequest.h"
|
|
#include "httpresponse.h"
|
|
#include "httprequesthandler.h"
|
|
|
|
#include <QThread>
|
|
|
|
class VersionController : public stefanfrings::HttpRequestHandler
|
|
{
|
|
Q_OBJECT
|
|
Q_DISABLE_COPY(VersionController);
|
|
|
|
public:
|
|
/** Constructor */
|
|
VersionController();
|
|
|
|
/** Generates the response */
|
|
void service(stefanfrings::HttpRequest &request, stefanfrings::HttpResponse &response) override;
|
|
};
|
|
|
|
#endif // VERSIONCONTROLLER_H
|