29 lines
426 B
C++
29 lines
426 B
C++
/*
|
|
* EventHandler.h
|
|
*
|
|
* Created on: Jun 13, 2018
|
|
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
|
*/
|
|
|
|
#ifndef SRC_IEVENTHANDLER_H_
|
|
#define SRC_IEVENTHANDLER_H_
|
|
|
|
#include "input/Event.h"
|
|
|
|
namespace flippR_driver
|
|
{
|
|
namespace input
|
|
{
|
|
|
|
class EventHandler
|
|
{
|
|
public:
|
|
virtual ~EventHandler() = default;
|
|
|
|
virtual void handle(flippR_driver::input::Event &event) = 0;
|
|
};
|
|
|
|
}
|
|
}
|
|
#endif /* SRC_IEVENTHANDLER_H_ */
|