summaryrefslogtreecommitdiff
path: root/project2/xml/sessionXml.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-09-06 14:06:44 +0000
committerrandomdan <randomdan@localhost>2011-09-06 14:06:44 +0000
commit55c3def82c32eaebb0feadebbcadd986d8f51941 (patch)
treeb55b4edeac7882b419344b1845e8338b8df947e1 /project2/xml/sessionXml.h
parentMinor shuffle (diff)
downloadproject2-55c3def82c32eaebb0feadebbcadd986d8f51941.tar.bz2
project2-55c3def82c32eaebb0feadebbcadd986d8f51941.tar.xz
project2-55c3def82c32eaebb0feadebbcadd986d8f51941.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.h5
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