X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fcontrolboardpage.h;fp=include%2Fhttp%2Fpages%2Fcontrolboardpage.h;h=3021edcc2f80a8882aa900e6050d047624853e3a;hp=0f8fcdeb4ed15fd7519aa8f218b73bc4e977e830;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/http/pages/controlboardpage.h b/include/http/pages/controlboardpage.h index 0f8fcde..3021edc 100644 --- a/include/http/pages/controlboardpage.h +++ b/include/http/pages/controlboardpage.h @@ -2,14 +2,13 @@ #define _controlboardpage_ #include "../ipagehandler.h" -#include "../../idatabase.h" -class ControlBoardPage:public IPageHandler,public IDatabase +class ControlBoardPage:public IPageHandler { public: - ControlBoardPage(const std::string &templatestr):IPageHandler(templatestr,"controlboard.htm") {} + ControlBoardPage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"controlboard.htm") {} - IPageHandler *New() { return new ControlBoardPage(m_template); } + IPageHandler *New() { return new ControlBoardPage(m_db,m_template); } private: const bool WillHandleURI(const std::string &uri);