openMSX
Main Page
Namespaces
Classes
Files
File List
File Members
events
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
10
class
EventListener
11
{
12
public
:
13
virtual
~EventListener
() {}
14
24
virtual
int
signalEvent
(
const
std::shared_ptr<const Event>& event) = 0;
25
26
protected
:
27
EventListener
() {}
28
};
29
30
}
// namespace openmsx
31
32
#endif // EVENTLISTENER_HH
Generated on Tue May 14 2013 20:17:59 for openMSX by
1.8.1.2