From 9cd3ccffd5372dfde3af478e3f832f18db4be3f1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:41 +0200 Subject: tagging tags --- ychat-0.5.4/src/sess.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ychat-0.5.4/src/sess.h (limited to 'ychat-0.5.4/src/sess.h') diff --git a/ychat-0.5.4/src/sess.h b/ychat-0.5.4/src/sess.h new file mode 100644 index 0000000..64cc6de --- /dev/null +++ b/ychat-0.5.4/src/sess.h @@ -0,0 +1,28 @@ +#ifndef s_sess_H +#define s_sess_H + +#include "incl.h" +#include "cont.h" +#include "name.h" +#include +#include +#include "hmap.h" +using namespace std; + +typedef map sess_map; + +class sess : public cont, name +{ + +private: + sess_map sess_values; + string sess_id; +public: + sess(string s_id); + string getId(); + void setValue(string s_key, void *lpvalue); + void *getValue( string s_key ); + void invalidate(); + string dump(); +}; +#endif -- cgit v1.2.3