X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fconfirmpage.h;h=5236d10c7023a997faedc4c7714e29d750bf1ac6;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=10ee226e7cfa08dcb05e5630ea881d490093233b;hpb=18b45335ba24f3b6b6d4f4acfe8c5a5ae845ce00;p=fms.git diff --git a/include/http/pages/confirmpage.h b/include/http/pages/confirmpage.h index 10ee226..5236d10 100644 --- a/include/http/pages/confirmpage.h +++ b/include/http/pages/confirmpage.h @@ -6,7 +6,9 @@ class ConfirmPage:public IPageHandler { public: - ConfirmPage(const std::string &templatestr):IPageHandler(templatestr) {} + ConfirmPage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"confirm.htm") {} + + IPageHandler *New() { return new ConfirmPage(m_db,m_template); } private: const bool WillHandleURI(const std::string &uri);