refactoring to interfaces

This commit is contained in:
Jonas Zeunert
2018-06-14 21:09:45 +02:00
parent 6a6a10517d
commit 13b5cc0b33
18 changed files with 34798 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
/*
* IEventNotifier.h
*
* Created on: Jun 13, 2018
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
*/
#ifndef SRC_INPUT_IEVENTNOTIFIER_H_
#define SRC_INPUT_IEVENTNOTIFIER_H_
#include "IEventHandler.h"
#include "Event.hpp"
namespace Input
{
class IEventNotifier
{
public:
virtual ~IEventNotifier() = 0;
virtual void register_event_handler(IEventHandler* handler) = 0;
virtual void unregister_event_handler(IEventHandler* handler) = 0;
virtual void distribute_event(Event& event) = 0;
};
}
#endif /* SRC_INPUT_IEVENTNOTIFIER_H_ */