Added new class for serving a list of reading lists, service is not implemented yet.

This commit is contained in:
Luis Ángel San Martín
2016-10-30 09:16:28 +01:00
parent ff4befb60e
commit 42a16a273b
3 changed files with 48 additions and 2 deletions

View File

@ -0,0 +1,20 @@
#ifndef READINGLISTSCONTROLLER_H
#define READINGLISTSCONTROLLER_H
#include "httprequest.h"
#include "httpresponse.h"
#include "httprequesthandler.h"
class ReadingListsController : public HttpRequestHandler {
Q_OBJECT
Q_DISABLE_COPY(ReadingListsController)
public:
ReadingListsController();
void service(HttpRequest& request, HttpResponse& response);
private:
void serviceContent(const int library, HttpResponse &response);
};
#endif // READINGLISTSCONTROLLER_H