aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/include/eventHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/events/include/eventHandler.h')
-rw-r--r--mwe/events/include/eventHandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mwe/events/include/eventHandler.h b/mwe/events/include/eventHandler.h
index c17c586..03017dd 100644
--- a/mwe/events/include/eventHandler.h
+++ b/mwe/events/include/eventHandler.h
@@ -4,7 +4,7 @@
#include <functional>
template<typename EventType>
using EventHandler = std::function<void(const EventType& e)>;
-class EventHandlerWrapperInterface {
+class IEventHandlerWrapper{
public:
void Exec(const Event& e)
{
@@ -18,7 +18,7 @@ private:
};
template<typename EventType>
-class EventHandlerWrapper : public EventHandlerWrapperInterface {
+class EventHandlerWrapper : public IEventHandlerWrapper {
public:
explicit EventHandlerWrapper(const EventHandler<EventType>& handler)
: m_handler(handler)