14 #ifndef EVENTDISPATCHER_H__
15 #define EVENTDISPATCHER_H__
55 void dispatch(
const Event& event,
const std::string& context,
bool remove );
78 typedef std::multimap<const std::string, EventHandler*> ContextHandlerMap;
79 typedef std::multimap<Event::EventType, EventHandler*> TypeHandlerMap;
81 ContextHandlerMap m_contextHandlers;
82 TypeHandlerMap m_typeHandlers;
88 #endif // EVENTDISPATCHER_H__