Separate v1 and v2 server api classes and execution path.

This commit is contained in:
Luis Ángel San Martín
2018-03-04 13:05:00 +01:00
parent aca67f2b2a
commit 68db72078f
66 changed files with 1105 additions and 580 deletions

View File

@ -0,0 +1,21 @@
#ifndef SYNCCONTROLLER_V2_H
#define SYNCCONTROLLER_V2_H
#include <QObject>
#include "httprequest.h"
#include "httpresponse.h"
#include "httprequesthandler.h"
class SyncControllerV2 : public HttpRequestHandler {
Q_OBJECT
Q_DISABLE_COPY(SyncControllerV2)
public:
/** Constructor */
SyncControllerV2();
/** Generates the response */
void service(HttpRequest& request, HttpResponse& response);
};
#endif // SYNCCONTROLLER_H