summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/InputCommon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/Src/InputCommon.cpp')
-rw-r--r--Source/Core/InputCommon/Src/InputCommon.cpp21
1 files changed, 12 insertions, 9 deletions
diff --git a/Source/Core/InputCommon/Src/InputCommon.cpp b/Source/Core/InputCommon/Src/InputCommon.cpp
index f34ccbb588..9d1c1910d3 100644
--- a/Source/Core/InputCommon/Src/InputCommon.cpp
+++ b/Source/Core/InputCommon/Src/InputCommon.cpp
@@ -2,16 +2,19 @@
EventHandler *eventHandler = NULL;
-namespace InputCommon {
- void Init() {
+namespace InputCommon
+{
+ void Init()
+ {
#if defined GLTEST && GLTEST
- // init the event handler
- eventHandler = new EventHandler();
+ // init the event handler
+ eventHandler = new EventHandler();
#endif
- }
+ }
- void Shutdown() {
- if (eventHandler)
- delete eventHandler;
- }
+ void Shutdown()
+ {
+ if (eventHandler)
+ delete eventHandler;
+ }
}