X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fpeermaintenancepage.h;h=95e49663258433b7a7c988b0c6da19490d036819;hp=80f74f181743df54ef20c4abd88ec9be0cfa4ab0;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hpb=9b22dd53fe62e312c1647310b7ec43aa127090af diff --git a/include/http/pages/peermaintenancepage.h b/include/http/pages/peermaintenancepage.h index 80f74f1..95e4966 100644 --- a/include/http/pages/peermaintenancepage.h +++ b/include/http/pages/peermaintenancepage.h @@ -9,6 +9,8 @@ class PeerMaintenancePage:public IPageHandler,public IDatabase public: PeerMaintenancePage(const std::string &templatestr):IPageHandler(templatestr) {} + IPageHandler *New() { return new PeerMaintenancePage(m_template); } + private: const bool WillHandleURI(const std::string &uri); const std::string GeneratePage(const std::string &method, const std::map &queryvars);