rag
graphic 2d engine
EventListener.h
1 #ifndef Rag_EventListener_h
2 #define Rag_EventListener_h
3 
4 #include "Event.h"
5 
6 namespace events
7 {
9 
11  {
12  public:
13 
14  virtual ~EventListener(){};
15 
16  virtual void onEvent(const std::string& type, events::Event& event) = 0;
17  };
18 }
19 
20 
21 #endif
Base class for event system.
Definition: Event.h:24
Interface that allows to listen events.
Definition: EventListener.h:10
Definition: Event.h:11