X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fhomepage.h;h=cfdbb4b4d53b7a19cf3b334f60c47c45d51a56df;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=977a0153596ef6698742bf71a978b1ec9d75be10;hpb=d8ccfe2b3944adf07d35534459cdda19d15217c8;p=fms.git diff --git a/include/http/pages/homepage.h b/include/http/pages/homepage.h index 977a015..cfdbb4b 100644 --- a/include/http/pages/homepage.h +++ b/include/http/pages/homepage.h @@ -6,6 +6,9 @@ class HomePage:public IPageHandler { public: + HomePage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"index.htm") {} + + IPageHandler *New() { return new HomePage(m_db,m_template); } private: const bool WillHandleURI(const std::string &uri);