summaryrefslogtreecommitdiff
path: root/src/s_modl.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:45 +0200
commitd34015c5ba231b95de20e9fcd7a33c5b2b9a1006 (patch)
treeceac33bd27e3b1158a0ac4e17f7fd7e5e6473fea /src/s_modl.h
parentc507ce3198ea4d822832cc8740f0128df8873c02 (diff)
tagging ychat-0.5.3ychat-0.5.3
Diffstat (limited to 'src/s_modl.h')
-rw-r--r--src/s_modl.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/s_modl.h b/src/s_modl.h
new file mode 100644
index 0000000..cce3f9a
--- /dev/null
+++ b/src/s_modl.h
@@ -0,0 +1,27 @@
+#ifndef GMOD_H
+#define GMOD_H
+
+#include "modl.h"
+
+using namespace std;
+
+class s_modl
+{
+private:
+ static modl* obj;
+
+public:
+ static void init()
+ {
+ obj = new modl();
+ }
+
+ static modl& get
+ ()
+ {
+ return *obj;
+ }
+};
+
+
+#endif