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