Changeset 2786 for code/branches/questsystem5/src/orxonox/overlays
- Timestamp:
- Mar 15, 2009, 12:55:45 PM (16 years ago)
- Location:
- code/branches/questsystem5/src/orxonox/overlays/notifications
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5/src/orxonox/overlays/notifications/NotificationManager.cc
r2785 r2786 58 58 RegisterRootObject(NotificationManager); 59 59 60 assert(singletonRef_s == 0); 61 singletonRef_s = this; 62 60 63 this->highestIndex_ = 0; 61 64 } … … 77 80 /*static*/ NotificationManager & NotificationManager::getInstance() 78 81 { 79 if(singletonRef_s == NULL) 80 { 81 singletonRef_s = new NotificationManager(); 82 } 82 assert(singletonRef_s); 83 83 return *singletonRef_s; 84 84 } -
code/branches/questsystem5/src/orxonox/overlays/notifications/NotificationManager.h
r2785 r2786 57 57 class _OrxonoxExport NotificationManager : public BaseObject 58 58 { 59 p rotected:59 public: 60 60 NotificationManager(); 61 62 public:63 61 virtual ~NotificationManager(); 64 62
Note: See TracChangeset
for help on using the changeset viewer.