X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fcreateidentitypage.h;h=9583c7a2719ebc6173c4bc1fe2aeecef93ac0d29;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=4a5374c94f3203766960582ba64e1c484ffd8b72;hpb=f208e33c29132aacaec448e74341edea1b925a2a;p=fms.git diff --git a/include/http/pages/createidentitypage.h b/include/http/pages/createidentitypage.h index 4a5374c..9583c7a 100644 --- a/include/http/pages/createidentitypage.h +++ b/include/http/pages/createidentitypage.h @@ -2,12 +2,13 @@ #define _createidentitypage_ #include "../ipagehandler.h" -#include "../../idatabase.h" -class CreateIdentityPage:public IPageHandler,public IDatabase +class CreateIdentityPage:public IPageHandler { public: - CreateIdentityPage(const std::string &templatestr):IPageHandler(templatestr) {} + CreateIdentityPage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"createidentity.htm") {} + + IPageHandler *New() { return new CreateIdentityPage(m_db,m_template); } private: const bool WillHandleURI(const std::string &uri);