X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Foptionspage.h;h=447b00f1bf7c109546c7c76d7411dcc1cc4c8b9d;hp=414875d74235ea8c07abfc3f6d069e02c0696580;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hpb=9b22dd53fe62e312c1647310b7ec43aa127090af diff --git a/include/http/pages/optionspage.h b/include/http/pages/optionspage.h index 414875d..447b00f 100644 --- a/include/http/pages/optionspage.h +++ b/include/http/pages/optionspage.h @@ -9,6 +9,8 @@ class OptionsPage:public IPageHandler,public IDatabase public: OptionsPage(const std::string &templatestr):IPageHandler(templatestr) {} + IPageHandler *New() { return new OptionsPage(m_template); } + private: const bool WillHandleURI(const std::string &uri); const std::string GeneratePage(const std::string &method, const std::map &queryvars);