summaryrefslogtreecommitdiff
path: root/project2/sessionXml.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-08-31 19:51:02 +0000
committerrandomdan <randomdan@localhost>2010-08-31 19:51:02 +0000
commitac4136de947054a1673a9bc004e47824ada549ce (patch)
treee4fcd16d531847ad17961f97d0d588e4cf659400 /project2/sessionXml.h
parentAdd alarm to be called when p2web has been idle for 60seconds (diff)
downloadproject2-ac4136de947054a1673a9bc004e47824ada549ce.tar.bz2
project2-ac4136de947054a1673a9bc004e47824ada549ce.tar.xz
project2-ac4136de947054a1673a9bc004e47824ada549ce.zip
Drop the pain in the ass SHM session container in favour of an XML one
Fix setting the environment up in p2console
Diffstat (limited to 'project2/sessionXml.h')
-rw-r--r--project2/sessionXml.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/project2/sessionXml.h b/project2/sessionXml.h
new file mode 100644
index 0000000..6995826
--- /dev/null
+++ b/project2/sessionXml.h
@@ -0,0 +1,18 @@
+#ifndef SESSIONXML_H
+#define SESSIONXML_H
+
+#include "session.h"
+#include <map>
+
+class SessionContainerXml : public SessionContainer {
+ public:
+ SessionContainerXml();
+ ~SessionContainerXml();
+
+ void CleanUp();
+
+ protected:
+ SessionPtr getSession(boost::uuids::uuid & sid);
+};
+
+#endif