diff options
author | chai <chaifix@163.com> | 2018-07-28 09:58:37 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-28 09:58:37 +0800 |
commit | 61301a96d309fe2deef0d0dc2e2bc2f3d4003bf9 (patch) | |
tree | d335e4312b28addf40f13e7f49900e9b5e3058a7 /src/libjin/input/mouse.h | |
parent | 92dab582ccac31be7fa410e7f4fb3789e88a0629 (diff) |
*update
Diffstat (limited to 'src/libjin/input/mouse.h')
-rw-r--r-- | src/libjin/input/mouse.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/libjin/input/mouse.h b/src/libjin/input/mouse.h index b926327..cb70407 100644 --- a/src/libjin/input/mouse.h +++ b/src/libjin/input/mouse.h @@ -1,15 +1,29 @@ #ifndef __JIN_MOUSE_H #define __JIN_MOUSE_H +#include "../modules.h" +#ifdef JIN_MODULES_INPUT + +#include "../Common/Singleton.h" + namespace jin { namespace input { - class Mouse + class Mouse : public Singleton<Mouse> { public: - }; + // + void getState(int* x, int* y); + private: + Mouse() {}; + ~Mouse() {}; + + SINGLETON(Mouse); + }; } } -#endif
\ No newline at end of file + +#endif // JIN_MODULES_INPUT +#endif // __JIN_MOUSE_H
\ No newline at end of file |