summaryrefslogtreecommitdiff
path: root/src/s_chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_chat.h')
-rw-r--r--src/s_chat.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/s_chat.h b/src/s_chat.h
new file mode 100644
index 0000000..84d69c9
--- /dev/null
+++ b/src/s_chat.h
@@ -0,0 +1,27 @@
+#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