summaryrefslogtreecommitdiff
path: root/src/s_modl.h
diff options
context:
space:
mode:
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