X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fexecquerypage.h;fp=include%2Fhttp%2Fpages%2Fexecquerypage.h;h=37255b9719d75ea6695923d687b05950f54d6174;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hp=4679ec2b53f10570b32f3bdd963ee0a869debda3;hpb=9b22dd53fe62e312c1647310b7ec43aa127090af;p=fms.git diff --git a/include/http/pages/execquerypage.h b/include/http/pages/execquerypage.h index 4679ec2..37255b9 100644 --- a/include/http/pages/execquerypage.h +++ b/include/http/pages/execquerypage.h @@ -9,6 +9,8 @@ class ExecQueryPage:public IPageHandler,public IDatabase public: ExecQueryPage(const std::string &templatestr):IPageHandler(templatestr) {} + IPageHandler *New() { return new ExecQueryPage(m_template); } + private: const bool WillHandleURI(const std::string &uri); const std::string GeneratePage(const std::string &method, const std::map &queryvars);