X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Flocalidentitiespage.h;h=bc0ae7cb86f444abe6898d8e694e3194eb12338d;hp=162777c68cc8a8c946051325a548b85c44aef666;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/http/pages/localidentitiespage.h b/include/http/pages/localidentitiespage.h index 162777c..bc0ae7c 100644 --- a/include/http/pages/localidentitiespage.h +++ b/include/http/pages/localidentitiespage.h @@ -2,14 +2,13 @@ #define _localidentitiespage_ #include "../ipagehandler.h" -#include "../../idatabase.h" -class LocalIdentitiesPage:public IPageHandler,public IDatabase +class LocalIdentitiesPage:public IPageHandler { public: - LocalIdentitiesPage(const std::string &templatestr):IPageHandler(templatestr,"localidentities.htm") {} + LocalIdentitiesPage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"localidentities.htm") {} - IPageHandler *New() { return new LocalIdentitiesPage(m_template); } + IPageHandler *New() { return new LocalIdentitiesPage(m_db,m_template); } void handleRequest(Poco::Net::HTTPServerRequest &request, Poco::Net::HTTPServerResponse &response);