Show
Ignore:
Timestamp:
01/30/10 13:18:29 (6 months ago)
Author:
trichards
Message:

Refactored the Event framework so that I_Event is created in EventService? instead of EventQueue?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Core/branches/0075_TR_SCRIPTING/Event/I_Event.hpp

    r3305 r3330  
    3838class I_Connection; 
    3939class I_Action; 
     40class I_EventQueue; 
    4041 
    4142/// @brief Event interface 
     
    5657public: 
    5758    /// 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. 
    5862    /// @return I_Connection that represents the connected event and action. 
    5963    ///         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; 
    6165 
    6266    /// Fire an event.