diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:45 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:45 +0200 |
| commit | d34015c5ba231b95de20e9fcd7a33c5b2b9a1006 (patch) | |
| tree | ceac33bd27e3b1158a0ac4e17f7fd7e5e6473fea /src/s_modl.h | |
| parent | c507ce3198ea4d822832cc8740f0128df8873c02 (diff) | |
tagging ychat-0.5.3ychat-0.5.3
Diffstat (limited to 'src/s_modl.h')
| -rw-r--r-- | src/s_modl.h | 27 |
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 |
