summaryrefslogtreecommitdiff
path: root/ychat-0.7.2/src/chat/sess.h
diff options
context:
space:
mode:
Diffstat (limited to 'ychat-0.7.2/src/chat/sess.h')
-rwxr-xr-xychat-0.7.2/src/chat/sess.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/ychat-0.7.2/src/chat/sess.h b/ychat-0.7.2/src/chat/sess.h
new file mode 100755
index 0000000..717564a
--- /dev/null
+++ b/ychat-0.7.2/src/chat/sess.h
@@ -0,0 +1,26 @@
+#include "../incl.h"
+
+#ifndef SESS_H
+#define SESS_H
+
+#include <map>
+#include <string>
+
+class cont;
+
+using namespace std;
+
+class sess : public name
+{
+
+private:
+ string sess_id;
+
+public:
+ sess(string s_id);
+ ~sess();
+
+ string get_id();
+ void invalidate();
+};
+#endif