X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fhomepage.h;h=1a4b8325e40983a15ba0984fd412de14eb5c8629;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hp=977a0153596ef6698742bf71a978b1ec9d75be10;hpb=d8ccfe2b3944adf07d35534459cdda19d15217c8;p=fms.git diff --git a/include/http/pages/homepage.h b/include/http/pages/homepage.h index 977a015..1a4b832 100644 --- a/include/http/pages/homepage.h +++ b/include/http/pages/homepage.h @@ -2,10 +2,14 @@ #define _homepage_ #include "../ipagehandler.h" +#include "../../idatabase.h" -class HomePage:public IPageHandler +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);