projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.3.29
[fms.git]
/
include
/
http
/
pages
/
boardspage.h
diff --git
a/include/http/pages/boardspage.h
b/include/http/pages/boardspage.h
index
0e4383c
..
9583a60
100644
(file)
--- a/
include/http/pages/boardspage.h
+++ b/
include/http/pages/boardspage.h
@@
-2,14
+2,13
@@
#define _boardspage_
\r
\r
#include "../ipagehandler.h"
\r
#define _boardspage_
\r
\r
#include "../ipagehandler.h"
\r
-#include "../../idatabase.h"
\r
\r
\r
-class BoardsPage:public IPageHandler
,public IDatabase
\r
+class BoardsPage:public IPageHandler
\r
{
\r
public:
\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
\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
\r
private:
\r
const bool WillHandleURI(const std::string &uri);
\r