diff options
| author | nakeee <nakeee@gmail.com> | 2009-01-05 13:39:54 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2009-01-05 13:39:54 +0000 |
| commit | a533a9dc3d5949a97158f63bde3f687d05343b47 (patch) | |
| tree | 22ca060b8cb96abb33bddcb40e8f90791064067e /Source/Core/InputCommon/Src/InputCommon.cpp | |
| parent | 65590711e91223be0ccf4eba1cf430c44ca6ab15 (diff) | |
almost made the event handler into singleton having access problems
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1795 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/InputCommon.cpp')
| -rw-r--r-- | Source/Core/InputCommon/Src/InputCommon.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/Src/InputCommon.cpp b/Source/Core/InputCommon/Src/InputCommon.cpp index 2d2188477d..beed506f8e 100644 --- a/Source/Core/InputCommon/Src/InputCommon.cpp +++ b/Source/Core/InputCommon/Src/InputCommon.cpp @@ -1,16 +1,16 @@ #include "EventHandler.h" -EventHandler *eventHandler = NULL; +//EventHandler *eventHandler = NULL; namespace InputCommon { void Init() { // init the event handler - eventHandler = new EventHandler(); + //EventHandler::GetInstance(); } void Shutdown() { - if (eventHandler) - delete eventHandler; + //if (eventHandler) + // delete eventHandler; } } |
