Add new controller for getting a folder

This commit is contained in:
Luis Ángel San Martín
2024-01-07 10:53:21 +01:00
parent 5728d4bb18
commit 53f7fd4a28
3 changed files with 62 additions and 1 deletions

View File

@ -0,0 +1,20 @@
#ifndef FOLDERMETADATACONTROLLERV2_H
#define FOLDERMETADATACONTROLLERV2_H
#include "httprequest.h"
#include "httpresponse.h"
#include "httprequesthandler.h"
class FolderMetadataControllerV2 : public stefanfrings::HttpRequestHandler
{
Q_OBJECT
Q_DISABLE_COPY(FolderMetadataControllerV2)
public:
/** Constructor */
FolderMetadataControllerV2();
/** Generates the response */
void service(stefanfrings::HttpRequest &request, stefanfrings::HttpResponse &response) override;
};
#endif // FOLDERMETADATACONTROLLERV2_H