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
/
peertrustpage.h
diff --git
a/include/http/pages/peertrustpage.h
b/include/http/pages/peertrustpage.h
index
a62ad68
..
0fb6dd3
100644
(file)
--- a/
include/http/pages/peertrustpage.h
+++ b/
include/http/pages/peertrustpage.h
@@
-2,14
+2,13
@@
#define _peertrustpage_
\r
\r
#include "../ipagehandler.h"
\r
#define _peertrustpage_
\r
\r
#include "../ipagehandler.h"
\r
-#include "../../idatabase.h"
\r
\r
\r
-class PeerTrustPage:public IPageHandler
,public IDatabase
\r
+class PeerTrustPage:public IPageHandler
\r
{
\r
public:
\r
{
\r
public:
\r
- PeerTrustPage(
const std::string &templatestr):IPageHandler(templatestr,"peertrust.htm")
{}
\r
+ PeerTrustPage(
SQLite3DB::DB *db, const std::string &templatestr):IPageHandler(db,templatestr,"peertrust.htm")
{}
\r
\r
\r
- IPageHandler *New() { return new PeerTrustPage(m_template); }
\r
+ IPageHandler *New() { return new PeerTrustPage(m_
db,m_
template); }
\r
\r
private:
\r
const std::string GeneratePage(const std::string &method, const std::map<std::string,std::string> &queryvars);
\r
\r
private:
\r
const std::string GeneratePage(const std::string &method, const std::map<std::string,std::string> &queryvars);
\r