Changeset 5888 for code/branches/core5/src/libraries/core/Event.h
- Timestamp:
- Oct 6, 2009, 4:56:42 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/Event.h
r5879 r5888 40 40 struct _CoreExport Event 41 41 { 42 Event(bool activate, BaseObject* originator ) : activate_(activate), originator_(originator) {}42 Event(bool activate, BaseObject* originator, const std::string& name) : activate_(activate), originator_(originator), name_(name) {} 43 43 44 44 bool activate_; //!< True if this is an activating event (the event source was inactive before and just triggered the event) - false otherwise 45 45 std::string statename_; //!< The name of the state this event affects 46 46 BaseObject* originator_; //!< The object which triggered this event 47 std::string name_; //!< The name of this event 47 48 }; 48 49
Note: See TracChangeset
for help on using the changeset viewer.