added new PriorityNotificationQueue, TimedNotificationQueue; added File::isDevice()

This commit is contained in:
Guenter Obiltschnig
2009-04-14 10:38:52 +00:00
parent 98eb0eb532
commit 095401e8e4
36 changed files with 1718 additions and 141 deletions

View File

@@ -1,7 +1,7 @@
//
// NotificationCenter.cpp
//
// $Id: //poco/svn/Foundation/src/NotificationCenter.cpp#2 $
// $Id: //poco/Main/Foundation/src/NotificationCenter.cpp#13 $
//
// Library: Foundation
// Package: Notifications
@@ -80,12 +80,11 @@ void NotificationCenter::removeObserver(const AbstractObserver& observer)
}
void NotificationCenter::postNotification(Notification* pNotification)
void NotificationCenter::postNotification(Notification::Ptr pNotification)
{
poco_check_ptr (pNotification);
Mutex::ScopedLock lock(_mutex);
AutoPtr<Notification> pNf = pNotification;
ObserverList::iterator it = _observers.begin();
while (it != _observers.end())
{