summaryrefslogtreecommitdiff
path: root/s_chat.h
diff options
context:
space:
mode:
Diffstat (limited to 's_chat.h')
-rw-r--r--s_chat.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/s_chat.h b/s_chat.h
new file mode 100644
index 0000000..4162180
--- /dev/null
+++ b/s_chat.h
@@ -0,0 +1,26 @@
+#ifndef GCHT_H
+#define GCHT_H
+
+#include "chat.h"
+
+using namespace std;
+
+class s_chat
+{
+private:
+ static chat* obj;
+
+public:
+ static void init()
+ {
+ obj = new chat();
+ }
+
+ static chat& get()
+ {
+ return *obj;
+ }
+};
+
+
+#endif