| 51 | }; |
| 52 | |
| 53 | class EventDispatcher |
| 54 | { |
| 55 | std::list<std::pair<EventType, EventObserver*> > observerList_; |
| 56 | public: |
| 57 | EventDispatcher(); |
| 58 | |
| 59 | void registerObserver(EventType type, EventObserver* observer); |
| 60 | void dispatchEvent(const Event& event, int timeoutSeconds); |
| 61 | }; |
| 62 | |
| 63 | #endif |
nothing calls this directly
no outgoing calls
no test coverage detected