source:
orxonox.OLD/orxonox/trunk/src/util/event/event_listener.h
@
4399
Last change on this file since 4399 was 4365, checked in by patrick, 19 years ago | |
---|---|
File size: 445 bytes |
Rev | Line | |
---|---|---|
[4329] | 1 | /*! |
[4346] | 2 | \file event_listener.h |
3 | \brief Definition of an event listener base class | |
[4329] | 4 | |
5 | */ | |
6 | ||
[4346] | 7 | #ifndef _EVENT_LISTENER_H |
8 | #define _EVENT_LISTENER_H | |
[4329] | 9 | |
10 | #include "base_object.h" | |
[4365] | 11 | #include "event.h" |
[4352] | 12 | #include "event_def.h" |
[4329] | 13 | |
14 | ||
[4346] | 15 | //! A class for event listener |
16 | class EventListener : public BaseObject { | |
[4329] | 17 | |
18 | public: | |
[4346] | 19 | EventListener(); |
20 | virtual ~EventListener(); | |
[4329] | 21 | |
[4365] | 22 | virtual void process(const Event &event) = NULL; |
[4329] | 23 | |
[4365] | 24 | private: |
25 | ||
26 | ||
[4329] | 27 | }; |
28 | ||
[4346] | 29 | #endif /* _EVENT_LISTENER_H */ |
Note: See TracBrowser
for help on using the repository browser.