diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2009-01-04 21:07:22 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2009-01-04 21:07:22 +0000 |
| commit | 34cad180e8a2124beb0a795998cda4d45ff8fe4f (patch) | |
| tree | 00f454bdb2000bcbd95aa15fed10005baf08073a /Source/Core/InputCommon/Src/InputCommon.cpp | |
| parent | 96d6fc6e85f10fb5a5ac0a3f8d5c34c53669b4ec (diff) | |
add inputcommon and padsimpleEvnt to windows build. note: the plugin is disabled atm; it builds but isn't fit for general consumption. Also a bit of dolphin-style cleanup on inputcommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1768 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/InputCommon.cpp')
| -rw-r--r-- | Source/Core/InputCommon/Src/InputCommon.cpp | 21 |
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; + } } |
