diff options
Diffstat (limited to 's_sman.h')
| -rw-r--r-- | s_sman.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/s_sman.h b/s_sman.h new file mode 100644 index 0000000..ff3a7c5 --- /dev/null +++ b/s_sman.h @@ -0,0 +1,26 @@ +#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 |
