aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Input
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-20 15:50:06 +0800
committerchai <chaifix@163.com>2018-10-20 15:50:06 +0800
commite9410bd371fc68169c57d2c52382948a0b083da4 (patch)
treed8f7e600b4ffd6a5c4c9a30f68f9ee74b8491c3b /src/libjin/Input
parent58ad98213763348b49d8313675203b287a5442bb (diff)
*修改名称空间
Diffstat (limited to 'src/libjin/Input')
-rw-r--r--src/libjin/Input/je_event.cpp4
-rw-r--r--src/libjin/Input/je_event.h8
-rw-r--r--src/libjin/Input/je_joypad.h8
-rw-r--r--src/libjin/Input/je_keyboard.h8
-rw-r--r--src/libjin/Input/je_mouse.cpp8
-rw-r--r--src/libjin/Input/je_mouse.h8
6 files changed, 22 insertions, 22 deletions
diff --git a/src/libjin/Input/je_event.cpp b/src/libjin/Input/je_event.cpp
index 4f55839..318ce59 100644
--- a/src/libjin/Input/je_event.cpp
+++ b/src/libjin/Input/je_event.cpp
@@ -2,7 +2,7 @@
#include "je_event.h"
-namespace jin
+namespace JinEngine
{
-} // namespace jin \ No newline at end of file
+} // namespace JinEngine \ No newline at end of file
diff --git a/src/libjin/Input/je_event.h b/src/libjin/Input/je_event.h
index e39032e..ca5dab7 100644
--- a/src/libjin/Input/je_event.h
+++ b/src/libjin/Input/je_event.h
@@ -3,9 +3,9 @@
#include "../core/je_configuration.h"
#if LIBJIN_MODULES_INPUT
-namespace jin
+namespace JinEngine
{
- namespace input
+ namespace Input
{
#if LIBJIN_INPUT_SDL
#include "SDL.h"
@@ -98,8 +98,8 @@ namespace jin
*/
#endif // LIBJIN_INPUT_SDL
- } // namespace input
-} // namespace jin
+ } // namespace Input
+} // namespace JinEngine
#endif // LIBJIN_MODULES_INPUT
#endif \ No newline at end of file
diff --git a/src/libjin/Input/je_joypad.h b/src/libjin/Input/je_joypad.h
index a163dca..49cd2d8 100644
--- a/src/libjin/Input/je_joypad.h
+++ b/src/libjin/Input/je_joypad.h
@@ -3,9 +3,9 @@
#include <SDL2/SDL.h>
-namespace jin
+namespace JinEngine
{
- namespace input
+ namespace Input
{
inline const char* getJoyButtonName(int button)
@@ -44,7 +44,7 @@ namespace jin
}
}
- } // namespace input
-} // namespace jin
+ } // namespace Input
+} // namespace JinEngine
#endif \ No newline at end of file
diff --git a/src/libjin/Input/je_keyboard.h b/src/libjin/Input/je_keyboard.h
index 2b9ea38..85b6267 100644
--- a/src/libjin/Input/je_keyboard.h
+++ b/src/libjin/Input/je_keyboard.h
@@ -1,9 +1,9 @@
#ifndef __JE_KEYBOARD_H
#define __JE_KEYBOARD_H
-namespace jin
+namespace JinEngine
{
- namespace input
+ namespace Input
{
class Keyboard
@@ -11,7 +11,7 @@ namespace jin
};
- } // namespace input
-} // namespace jin
+ } // namespace Input
+} // namespace JinEngine
#endif // __JE_KEYBOARD_H \ No newline at end of file
diff --git a/src/libjin/Input/je_mouse.cpp b/src/libjin/Input/je_mouse.cpp
index 21e59fb..45fb8df 100644
--- a/src/libjin/Input/je_mouse.cpp
+++ b/src/libjin/Input/je_mouse.cpp
@@ -5,9 +5,9 @@
#include "je_mouse.h"
-namespace jin
+namespace JinEngine
{
- namespace input
+ namespace Input
{
void Mouse::getState(int* x, int* y)
@@ -22,7 +22,7 @@ namespace jin
SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE);
}
- } // namespace input
-} // namespace jin
+ } // namespace Input
+} // namespace JinEngine
#endif // LIBJIN_MODULES_INPUT \ No newline at end of file
diff --git a/src/libjin/Input/je_mouse.h b/src/libjin/Input/je_mouse.h
index f229ed1..6f01993 100644
--- a/src/libjin/Input/je_mouse.h
+++ b/src/libjin/Input/je_mouse.h
@@ -5,9 +5,9 @@
#include "../common/je_singleton.hpp"
-namespace jin
+namespace JinEngine
{
- namespace input
+ namespace Input
{
class Mouse : public Singleton<Mouse>
@@ -24,8 +24,8 @@ namespace jin
};
- } // namespace input
-} // namespace jin
+ } // namespace Input
+} // namespace JinEngine
#endif // LIBJIN_MODULES_INPUT
#endif // __JE_MOUSE_H \ No newline at end of file