mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 03:20:11 +01:00
added new PriorityNotificationQueue, TimedNotificationQueue; added File::isDevice()
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user