X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fcreateidentitypage.h;h=9583c7a2719ebc6173c4bc1fe2aeecef93ac0d29;hp=a1a912f4afc415b572ae0fb085409a2779156f1b;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/http/pages/createidentitypage.h b/include/http/pages/createidentitypage.h index a1a912f..9583c7a 100644 --- a/include/http/pages/createidentitypage.h +++ b/include/http/pages/createidentitypage.h @@ -2,14 +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,"createidentity.htm") {} + CreateIdentityPage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"createidentity.htm") {} - IPageHandler *New() { return new CreateIdentityPage(m_template); } + IPageHandler *New() { return new CreateIdentityPage(m_db,m_template); } private: const bool WillHandleURI(const std::string &uri);