summaryrefslogtreecommitdiff
path: root/project2/xml/sessionXml.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-08-31 21:48:04 +0000
committerrandomdan <randomdan@localhost>2011-08-31 21:48:04 +0000
commit05b8bed896e5fe8c1841869e5d6e8e837e72c10a (patch)
tree77abf662b898321a61058fb0a0da603e336bcad9 /project2/xml/sessionXml.h
parentAdds RDBMS table caching solution (diff)
downloadproject2-05b8bed896e5fe8c1841869e5d6e8e837e72c10a.tar.bz2
project2-05b8bed896e5fe8c1841869e5d6e8e837e72c10a.tar.xz
project2-05b8bed896e5fe8c1841869e5d6e8e837e72c10a.zip
The big reshuffle
Diffstat (limited to 'project2/xml/sessionXml.h')
-rw-r--r--project2/xml/sessionXml.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/project2/xml/sessionXml.h b/project2/xml/sessionXml.h
new file mode 100644
index 0000000..9b5c3e1
--- /dev/null
+++ b/project2/xml/sessionXml.h
@@ -0,0 +1,24 @@
+#ifndef SESSIONXML_H
+#define SESSIONXML_H
+
+#include "sessionContainer.h"
+#include <map>
+
+class SessionXml;
+class SessionContainerXml : public SessionContainer {
+ public:
+ SessionContainerXml();
+ ~SessionContainerXml();
+
+ protected:
+ SessionPtr getSession(UUID & sid);
+ typedef boost::intrusive_ptr<SessionXml> SessionXmlPtr;
+ SessionXmlPtr currentSession;
+
+ private:
+ // Configurables
+ static std::string xmlFile;
+ friend class CustomSessionContainerLoaderXml;
+};
+
+#endif