Changeset 9869 in orxonox.OLD for trunk/src/lib/event
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- Location:
- trunk/src/lib/event
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/event/event_handler.cc
r9656 r9869 28 28 #include <algorithm> 29 29 30 31 ObjectListDefinition(EventHandler); 30 32 /** 31 33 * @brief standard constructor … … 33 35 EventHandler::EventHandler () 34 36 { 35 this-> setClassID(CL_EVENT_HANDLER, "EventHandler");37 this->registerObject(this, EventHandler::_objectList); 36 38 this->setName("EventHandler"); 37 39 -
trunk/src/lib/event/event_handler.h
r8743 r9869 21 21 class EventHandler : public BaseObject 22 22 { 23 23 ObjectListDeclaration(EventHandler); 24 24 public: 25 25 virtual ~EventHandler(); -
trunk/src/lib/event/event_listener.cc
r7868 r9869 19 19 #include "event_handler.h" 20 20 21 ObjectListDefinition(EventListener); 21 22 /** 22 23 * @brief standard constructor … … 24 25 EventListener::EventListener () 25 26 { 26 this-> setClassID(CL_EVENT_LISTENER, "EventListener");27 this->registerObject(this, EventListener::_objectList); 27 28 } 28 29 -
trunk/src/lib/event/event_listener.h
r7868 r9869 12 12 13 13 //! A class for event listener 14 class EventListener : virtual public BaseObject { 15 16 public: 14 class EventListener : virtual public BaseObject 15 { 16 ObjectListDeclaration(EventListener); 17 public: 17 18 EventListener(); 18 19 virtual ~EventListener(); -
trunk/src/lib/event/key_mapper.cc
r9406 r9869 25 25 #include "globals.h" 26 26 #include "parser/ini_parser/ini_parser.h" 27 #include " util/preferences.h"27 #include "parser/preferences/preferences.h" 28 28 #include "key_names.h" 29 29 #include "event_def.h" … … 32 32 33 33 34 34 ObjectListDefinition(KeyMapper); 35 35 36 36 /* initialize all variables to a reasonable value*/ … … 116 116 KeyMapper::KeyMapper () 117 117 { 118 this->setClassID(CL_KEY_MAPPER, "KeyMapper");118 this->registerObject(this, KeyMapper::_objectList); 119 119 } 120 120 -
trunk/src/lib/event/key_mapper.h
r8724 r9869 16 16 class KeyMapper : public BaseObject 17 17 { 18 ObjectListDeclaration(KeyMapper); 18 19 public: 19 20 //! A mapping from key-name to key-id
Note: See TracChangeset
for help on using the changeset viewer.