X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fboardspage.h;h=9583a60346d7166be90fd577dec84ed0f39c2f47;hp=0e4383cb11ce3f8b7baea4501a5e9a8c4a79e932;hb=59a5414ec47a2932a7802fcd1d98c4d80166564f;hpb=4e96d123460d6363cf7274e36bd9357768eb86ad diff --git a/include/http/pages/boardspage.h b/include/http/pages/boardspage.h index 0e4383c..9583a60 100644 --- a/include/http/pages/boardspage.h +++ b/include/http/pages/boardspage.h @@ -2,14 +2,13 @@ #define _boardspage_ #include "../ipagehandler.h" -#include "../../idatabase.h" -class BoardsPage:public IPageHandler,public IDatabase +class BoardsPage:public IPageHandler { public: - BoardsPage(const std::string &templatestr):IPageHandler(templatestr,"boards.htm") {} + BoardsPage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"boards.htm") {} - IPageHandler *New() { return new BoardsPage(m_template); } + IPageHandler *New() { return new BoardsPage(m_db,m_template); } private: const bool WillHandleURI(const std::string &uri);