openMSX
EventListener.hh
Go to the documentation of this file.
1 #ifndef EVENTLISTENER_HH
2 #define EVENTLISTENER_HH
3 
4 #include <memory>
5 
6 namespace openmsx {
7 
8 class Event;
9 
11 {
12 public:
13  virtual ~EventListener() {}
14 
24  virtual int signalEvent(const std::shared_ptr<const Event>& event) = 0;
25 
26 protected:
28 };
29 
30 } // namespace openmsx
31 
32 #endif // EVENTLISTENER_HH