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