version 0.3.29
[fms.git] / include / http / pages / boardspage.h
index 0e4383c..9583a60 100644 (file)
@@ -2,14 +2,13 @@
 #define _boardspage_\r
 \r
 #include "../ipagehandler.h"\r
-#include "../../idatabase.h"\r
 \r
-class BoardsPage:public IPageHandler,public IDatabase\r
+class BoardsPage:public IPageHandler\r
 {\r
 public:\r
-       BoardsPage(const std::string &templatestr):IPageHandler(templatestr,"boards.htm")       {}\r
+       BoardsPage(SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"boards.htm") {}\r
        \r
-       IPageHandler *New()     { return new BoardsPage(m_template); }\r
+       IPageHandler *New()     { return new BoardsPage(m_db,m_template); }\r
 \r
 private:\r
        const bool WillHandleURI(const std::string &uri);\r