Changeset 7193 for code/trunk/src/modules/notifications/Notification.cc
- Timestamp:
- Aug 20, 2010, 9:55:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/Notification.cc
r7163 r7193 60 60 Notification::Notification(BaseObject* creator, const std::string & message) : BaseObject(creator) 61 61 { 62 RegisterObject(Notification); 63 this->initialize(); 62 64 this->message_ = message; 63 65 } … … 104 106 bool Notification::send(const std::string & sender) 105 107 { 108 if(this->isSent()) //TODO: Needed? 109 return false; 110 106 111 this->sender_ = sender; 107 112 bool successful = NotificationManager::getInstance().registerNotification(this);
Note: See TracChangeset
for help on using the changeset viewer.