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.23
[fms.git]
/
include
/
http
/
ipagehandler.h
diff --git
a/include/http/ipagehandler.h
b/include/http/ipagehandler.h
index
11bdc22
..
16afb7c
100644
(file)
--- a/
include/http/ipagehandler.h
+++ b/
include/http/ipagehandler.h
@@
-16,9
+16,9
@@
class IPageHandler:public Poco::Net::HTTPRequestHandler,public ILogger
{
\r
public:
\r
IPageHandler() {}
\r
{
\r
public:
\r
IPageHandler() {}
\r
- IPageHandler(const std::string &templatestr
) { m_template=templatestr;
}
\r
+ IPageHandler(const std::string &templatestr
, const std::string &pagename):m_template(templatestr),m_pagename(pagename) {
}
\r
virtual ~IPageHandler() {}
\r
virtual ~IPageHandler() {}
\r
- virtual const bool WillHandleURI(const std::string &uri)
=0
;
\r
+ virtual const bool WillHandleURI(const std::string &uri);
\r
\r
virtual IPageHandler *New()=0; // returns a new instance of the object
\r
\r
\r
virtual IPageHandler *New()=0; // returns a new instance of the object
\r
\r
@@
-41,6
+41,7
@@
protected:
const std::string SanitizeOutput(const std::string &input);
\r
\r
std::string m_template;
\r
const std::string SanitizeOutput(const std::string &input);
\r
\r
std::string m_template;
\r
+ std::string m_pagename;
\r
\r
};
\r
\r
\r
};
\r
\r