X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fpeermaintenancepage.h;fp=include%2Fhttp%2Fpages%2Fpeermaintenancepage.h;h=90225041809cf16f525396c4b9be69196dec08ff;hp=efacffa174694910e52ad3dc80af9d509d64da69;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/http/pages/peermaintenancepage.h b/include/http/pages/peermaintenancepage.h index efacffa..9022504 100644 --- a/include/http/pages/peermaintenancepage.h +++ b/include/http/pages/peermaintenancepage.h @@ -2,14 +2,13 @@ #define _peermaintenancepage_ #include "../ipagehandler.h" -#include "../../idatabase.h" -class PeerMaintenancePage:public IPageHandler,public IDatabase +class PeerMaintenancePage:public IPageHandler { public: - PeerMaintenancePage(const std::string &templatestr):IPageHandler(templatestr,"peermaintenance.htm") {} + PeerMaintenancePage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"peermaintenance.htm") {} - IPageHandler *New() { return new PeerMaintenancePage(m_template); } + IPageHandler *New() { return new PeerMaintenancePage(m_db,m_template); } private: const bool WillHandleURI(const std::string &uri);