aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Input/Mouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Input/Mouse.h')
-rw-r--r--src/libjin/Input/Mouse.h20
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