diff options
Diffstat (limited to 'Source/Core/InputCommon/Src/InputCommon.cpp')
| -rw-r--r-- | Source/Core/InputCommon/Src/InputCommon.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/Src/InputCommon.cpp b/Source/Core/InputCommon/Src/InputCommon.cpp new file mode 100644 index 0000000000..f34ccbb588 --- /dev/null +++ b/Source/Core/InputCommon/Src/InputCommon.cpp @@ -0,0 +1,17 @@ +#include "EventHandler.h" + +EventHandler *eventHandler = NULL; + +namespace InputCommon { + void Init() { +#if defined GLTEST && GLTEST + // init the event handler + eventHandler = new EventHandler(); +#endif + } + + void Shutdown() { + if (eventHandler) + delete eventHandler; + } +} |
