diff options
author | randomdan <randomdan@localhost> | 2011-09-06 14:06:44 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-09-06 14:06:44 +0000 |
commit | 2f482e21fb689c9476eca6741f3cdc9ca2bbb5ff (patch) | |
tree | b55b4edeac7882b419344b1845e8338b8df947e1 /project2/xml/sessionXml.h | |
parent | Minor shuffle (diff) | |
download | project2-2f482e21fb689c9476eca6741f3cdc9ca2bbb5ff.tar.bz2 project2-2f482e21fb689c9476eca6741f3cdc9ca2bbb5ff.tar.xz project2-2f482e21fb689c9476eca6741f3cdc9ca2bbb5ff.zip |
More flexible Curl helpers with boost::bind
Remove lots of duplicate code with safeMapFind
Rework the session code into something slightly more sensible
Add a doobry for forcing a CGI error
Diffstat (limited to 'project2/xml/sessionXml.h')
-rw-r--r-- | project2/xml/sessionXml.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/project2/xml/sessionXml.h b/project2/xml/sessionXml.h index 9b5c3e1..96cd1d2 100644 --- a/project2/xml/sessionXml.h +++ b/project2/xml/sessionXml.h @@ -10,10 +10,9 @@ class SessionContainerXml : public SessionContainer { SessionContainerXml(); ~SessionContainerXml(); + void SaveSession(SessionPtr) const; protected: - SessionPtr getSession(UUID & sid); - typedef boost::intrusive_ptr<SessionXml> SessionXmlPtr; - SessionXmlPtr currentSession; + SessionPtr getSession(UUID & sid) const; private: // Configurables |