More files

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1767 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-01-04 20:05:34 +00:00
parent 90560511c9
commit 96d6fc6e85
2 changed files with 25 additions and 0 deletions

View File

@ -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;
}
}

View File

@ -0,0 +1,8 @@
#include "EventHandler.h"
extern EventHandler *eventHandler;
namespace InputCommon {
void Init();
void Shutdown();
}