added eventhandler test file

This commit is contained in:
Neeflix
2018-06-28 19:26:18 +02:00
parent c60aa00210
commit e55d15da24
2 changed files with 11 additions and 3 deletions

View File

@@ -6,10 +6,11 @@
*/
#include "EventHandler.h"
using namespace Input;
namespace Input
{
EventHandler::EventHandler(std::shared_ptr<IInputDriver> input_driver) :
input_driver(input_driver)
input_driver(input_driver)
{
this->input_driver->register_event_handler(this);
@@ -28,4 +29,4 @@ using namespace Input;
CLOG(WARNING, INPUT_LOGGER) << "Called EventHandler parent class";
}
}