Changeset 3330 for Core/branches/0075_TR_SCRIPTING/Event/I_Event.hpp
- Timestamp:
- 01/30/10 13:18:29 (6 months ago)
- Files:
-
- 1 modified
-
Core/branches/0075_TR_SCRIPTING/Event/I_Event.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Core/branches/0075_TR_SCRIPTING/Event/I_Event.hpp
r3305 r3330 38 38 class I_Connection; 39 39 class I_Action; 40 class I_EventQueue; 40 41 41 42 /// @brief Event interface … … 56 57 public: 57 58 /// Connect an action to an event. 59 /// @param _pAction Action that will be invoked when the event is fired. 60 /// @param _queue The event queue that will be used to dispatch the action. 61 /// If this parameter is NULL, the default event queue is used. 58 62 /// @return I_Connection that represents the connected event and action. 59 63 /// Use this to disconnect the connection. 60 virtual I_Connection& connect(pAction_type _pAction ) = 0;64 virtual I_Connection& connect(pAction_type _pAction, I_EventQueue* _pQueue = NULL) = 0; 61 65 62 66 /// Fire an event.
