X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fcontrolboardpage.h;h=3021edcc2f80a8882aa900e6050d047624853e3a;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hp=7484989f1d886b3ef29390c0c097cef414fbb7e1;hpb=dec33c63afafabf83c3039e916725cac6faef9b3;p=fms.git diff --git a/include/http/pages/controlboardpage.h b/include/http/pages/controlboardpage.h index 7484989..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) {} + 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);