From 96d6fc6e85f10fb5a5ac0a3f8d5c34c53669b4ec Mon Sep 17 00:00:00 2001 From: nakeee Date: Sun, 4 Jan 2009 20:05:34 +0000 Subject: More files git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1767 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/InputCommon/Src/InputCommon.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Source/Core/InputCommon/Src/InputCommon.cpp (limited to 'Source/Core/InputCommon/Src/InputCommon.cpp') 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; + } +} -- cgit v1.2.3