diff options
Diffstat (limited to 'ychat-0.2/CHAT.h')
| -rwxr-xr-x | ychat-0.2/CHAT.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ychat-0.2/CHAT.h b/ychat-0.2/CHAT.h new file mode 100755 index 0000000..6c015f4 --- /dev/null +++ b/ychat-0.2/CHAT.h @@ -0,0 +1,26 @@ +#ifndef GCHT_H +#define GCHT_H + +#include "chat.h" + +using namespace std; + +class CHAT +{ +private: + static chat* obj; + +public: + static void init() + { + obj = new chat(); + } + + static chat& get() + { + return *obj; + } +}; + + +#endif |
