2009-01-04 20:05:34 +00:00
|
|
|
#include "EventHandler.h"
|
|
|
|
|
|
|
|
EventHandler *eventHandler = NULL;
|
|
|
|
|
2009-01-04 21:07:22 +00:00
|
|
|
namespace InputCommon
|
|
|
|
{
|
2009-01-04 22:58:20 +00:00
|
|
|
void Init() {
|
|
|
|
// init the event handler
|
|
|
|
eventHandler = new EventHandler();
|
|
|
|
}
|
|
|
|
|
|
|
|
void Shutdown() {
|
|
|
|
if (eventHandler)
|
|
|
|
delete eventHandler;
|
|
|
|
}
|
2009-01-04 20:05:34 +00:00
|
|
|
}
|