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
545 B
C++
22 lines
545 B
C++
#ifndef FAVORITESCONTROLLER_V2_H
|
|
#define FAVORITESCONTROLLER_V2_H
|
|
|
|
#include "httprequest.h"
|
|
#include "httpresponse.h"
|
|
#include "httprequesthandler.h"
|
|
|
|
class FavoritesControllerV2 : public stefanfrings::HttpRequestHandler
|
|
{
|
|
Q_OBJECT
|
|
Q_DISABLE_COPY(FavoritesControllerV2)
|
|
public:
|
|
FavoritesControllerV2();
|
|
|
|
void service(stefanfrings::HttpRequest &request, stefanfrings::HttpResponse &response) override;
|
|
|
|
private:
|
|
void serviceContent(const int library, stefanfrings::HttpResponse &response);
|
|
};
|
|
|
|
#endif // FAVORITESCONTROLLER_H
|