diff options
Diffstat (limited to 'server/src/sessionserialiser.h')
-rw-r--r-- | server/src/sessionserialiser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/sessionserialiser.h b/server/src/sessionserialiser.h index acc9ad6..a85fc63 100644 --- a/server/src/sessionserialiser.h +++ b/server/src/sessionserialiser.h @@ -32,9 +32,11 @@ #include "session.h" +class Environment; + class SessionSerialiser { public: - SessionSerialiser(std::string path); + SessionSerialiser(Environment *e, std::string path); Session *loadStr(const std::string &xml); std::string saveStr(Session *session); @@ -47,6 +49,7 @@ public: private: std::string path; + Environment *env; }; std::string getSessionFilename(const std::string &path, |