diff options
Diffstat (limited to 'server/src/session.h')
-rw-r--r-- | server/src/session.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/server/src/session.h b/server/src/session.h index 12c831a..48c01d7 100644 --- a/server/src/session.h +++ b/server/src/session.h @@ -90,5 +90,13 @@ private: std::map<std::string, Session *> sessions; }; +class SessionAutolock { +public: + SessionAutolock(Session &session); + ~SessionAutolock(); + +private: + Session &session; +}; #endif/*__PRACRO_SESSION_H__*/ |