18 lines
286 B
C++
18 lines
286 B
C++
|
#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;
|
||
|
}
|
||
|
}
|