X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Flocalidentitiespage.h;h=d994fd248878a07ef58ee7bd0f90d7696ca48e66;hp=71e0caaef6731b1451fb321d65cfad22b9bfd337;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hpb=9b22dd53fe62e312c1647310b7ec43aa127090af diff --git a/include/http/pages/localidentitiespage.h b/include/http/pages/localidentitiespage.h index 71e0caa..d994fd2 100644 --- a/include/http/pages/localidentitiespage.h +++ b/include/http/pages/localidentitiespage.h @@ -8,10 +8,20 @@ class LocalIdentitiesPage:public IPageHandler,public IDatabase { public: LocalIdentitiesPage(const std::string &templatestr):IPageHandler(templatestr) {} + + IPageHandler *New() { return new LocalIdentitiesPage(m_template); } + + void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::HTTPServerResponse &response); + private: const bool WillHandleURI(const std::string &uri); const std::string GeneratePage(const std::string &method, const std::map &queryvars); + void HandleUpdate(const std::map &queryvars); + void HandleDelete(const std::map &queryvars); + void HandleImport(const std::map &queryvars); + const std::string HandleExport(); + }; #endif // _localidentitiespage_