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.13
[fms.git]
/
include
/
http
/
pages
/
homepage.h
diff --git
a/include/http/pages/homepage.h
b/include/http/pages/homepage.h
index
977a015
..
1a4b832
100644
(file)
--- a/
include/http/pages/homepage.h
+++ b/
include/http/pages/homepage.h
@@
-2,10
+2,14
@@
#define _homepage_
\r
\r
#include "../ipagehandler.h"
\r
#define _homepage_
\r
\r
#include "../ipagehandler.h"
\r
+#include "../../idatabase.h"
\r
\r
\r
-class HomePage:public IPageHandler
\r
+class HomePage:public IPageHandler
,public IDatabase
\r
{
\r
public:
\r
{
\r
public:
\r
+ HomePage(const std::string &templatestr):IPageHandler(templatestr) {}
\r
+
\r
+ IPageHandler *New() { return new HomePage(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