X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Foptionspage.h;h=447b00f1bf7c109546c7c76d7411dcc1cc4c8b9d;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hp=6ca15dbeea9df0539dbd44fb1a8a3a3e2b121a71;hpb=f208e33c29132aacaec448e74341edea1b925a2a;p=fms.git diff --git a/include/http/pages/optionspage.h b/include/http/pages/optionspage.h index 6ca15db..447b00f 100644 --- a/include/http/pages/optionspage.h +++ b/include/http/pages/optionspage.h @@ -9,9 +9,12 @@ 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); + const std::string CreateDropDown(const std::string &name, const std::vector &items, const std::string &selecteditem); }; #endif // _optionspage_