Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2011, 10:45:56 PM (13 years ago)
Author:
dafrick
Message:

Extending NotificationQueueCEGUI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutoriallevel2/src/modules/notifications/NotificationQueue.cc

    r8446 r8448  
    208208
    209209        COUT(5) << "Notification \"" << notification->getMessage() << "\" pushed to NotificationQueue '" << this->getName() << "'" << endl;
     210        COUT(3) << "NotificationQueue \"" << this->getName() << "\": " << notification->getMessage() << endl;
    210211    }
    211212
     
    374375        }
    375376    }
    376    
    377     void NotificationQueue::tidy(void)
     377
     378    /**
     379    @brief
     380        Pops all Notifications from the NotificationQueue.
     381    @return
     382        Returns true if successful, false if not.
     383    */
     384    bool NotificationQueue::tidy(void)
    378385    {
    379386        while(this->size_ > 0)
    380387            this->pop();
     388        return true;
    381389    }
    382390
Note: See TracChangeset for help on using the changeset viewer.