- Timestamp:
- Sep 19, 2009, 11:57:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/questsystem/notifications/NotificationManager.cc
r5738 r5748 81 81 return false; 82 82 83 std::time_t time = std::time(0); //T DO: Doesn't this expire? //!< Get current time.83 std::time_t time = std::time(0); //TODO: Doesn't this expire? //!< Get current time. 84 84 85 85 this->allNotificationsList_.insert(std::pair<std::time_t,Notification*>(time,notification)); … … 96 96 { 97 97 std::set<std::string> set = it->first->getTargetsSet(); 98 if(all || set.find(notification->getSender()) != set.end() || set.find(ALL) != set.end()) //T DO: Make sure this works.98 if(all || set.find(notification->getSender()) != set.end() || set.find(ALL) != set.end()) //TODO: Make sure this works. 99 99 { 100 100 this->notificationLists_[it->second]->insert(std::pair<std::time_t,Notification*>(time,notification)); //!< Insert the Notification in the Notifications list of the current NotificationListener. … … 123 123 this->listenerList_[listener] = index; //!< Add the NotificationListener to the list of listeners. 124 124 125 std::set<std::string> set = listener->getTargetsSet(); //T DO: Works this?125 std::set<std::string> set = listener->getTargetsSet(); //TODO: Works this? 126 126 127 127 //! If all senders are the target of the listener, then the list of notification for that specific listener is te same as the list of all Notifications.
Note: See TracChangeset
for help on using the changeset viewer.