Fixed spelling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34144 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6e190ec6a4
commit
9837ec16c8
@ -32,7 +32,7 @@ class NotificationListener {
|
||||
public:
|
||||
virtual ~NotificationListener();
|
||||
|
||||
virtual void EventOccured(NotificationService& service,
|
||||
virtual void EventOccurred(NotificationService& service,
|
||||
const KMessage* event);
|
||||
virtual void AllListenersNotified(
|
||||
NotificationService& service);
|
||||
@ -70,7 +70,7 @@ public:
|
||||
port_id port, int32 token);
|
||||
virtual ~UserMessagingListener();
|
||||
|
||||
virtual void EventOccured(NotificationService& service,
|
||||
virtual void EventOccurred(NotificationService& service,
|
||||
const KMessage* event);
|
||||
virtual void AllListenersNotified(
|
||||
NotificationService& service);
|
||||
@ -172,7 +172,7 @@ public:
|
||||
port_id port, uint32 token);
|
||||
|
||||
private:
|
||||
virtual void EventOccured(NotificationService& service,
|
||||
virtual void EventOccurred(NotificationService& service,
|
||||
const KMessage* event);
|
||||
virtual void AllListenersNotified(
|
||||
NotificationService& service);
|
||||
|
@ -28,7 +28,7 @@ NotificationListener::~NotificationListener()
|
||||
|
||||
|
||||
void
|
||||
NotificationListener::EventOccured(NotificationService& service,
|
||||
NotificationListener::EventOccurred(NotificationService& service,
|
||||
const KMessage* event)
|
||||
{
|
||||
}
|
||||
@ -106,7 +106,7 @@ UserMessagingListener::~UserMessagingListener()
|
||||
|
||||
|
||||
void
|
||||
UserMessagingListener::EventOccured(NotificationService& service,
|
||||
UserMessagingListener::EventOccurred(NotificationService& service,
|
||||
const KMessage* event)
|
||||
{
|
||||
fSender.SendMessage(event, fPort, fToken);
|
||||
@ -176,7 +176,7 @@ DefaultNotificationService::Notify(const KMessage& event, uint32 eventMask)
|
||||
DefaultListenerList::Iterator iterator = fListeners.GetIterator();
|
||||
while (default_listener* listener = iterator.Next()) {
|
||||
if ((eventMask & listener->eventMask) != 0)
|
||||
listener->listener->EventOccured(*this, &event);
|
||||
listener->listener->EventOccurred(*this, &event);
|
||||
}
|
||||
|
||||
// notify all listeners that all listeners have been notified
|
||||
@ -395,7 +395,7 @@ DefaultUserNotificationService::UpdateUserListener(uint32 eventMask,
|
||||
|
||||
|
||||
void
|
||||
DefaultUserNotificationService::EventOccured(NotificationService& service,
|
||||
DefaultUserNotificationService::EventOccurred(NotificationService& service,
|
||||
const KMessage* event)
|
||||
{
|
||||
int32 eventCode = event->GetInt32("event", -1);
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
uint64* _droppedEvents);
|
||||
|
||||
private:
|
||||
virtual void EventOccured(NotificationService& service,
|
||||
virtual void EventOccurred(NotificationService& service,
|
||||
const KMessage* event);
|
||||
|
||||
virtual void ThreadEnqueuedInRunQueue(struct thread* thread);
|
||||
@ -528,7 +528,7 @@ SystemProfiler::NextBuffer(size_t bytesRead, uint64* _droppedEvents)
|
||||
|
||||
|
||||
void
|
||||
SystemProfiler::EventOccured(NotificationService& service,
|
||||
SystemProfiler::EventOccurred(NotificationService& service,
|
||||
const KMessage* event)
|
||||
{
|
||||
int32 eventCode;
|
||||
|
@ -173,7 +173,7 @@ public:
|
||||
DirectoryWatcher();
|
||||
virtual ~DirectoryWatcher();
|
||||
|
||||
virtual void EventOccured(NotificationService& service,
|
||||
virtual void EventOccurred(NotificationService& service,
|
||||
const KMessage* event);
|
||||
};
|
||||
|
||||
@ -182,7 +182,7 @@ public:
|
||||
DriverWatcher();
|
||||
virtual ~DriverWatcher();
|
||||
|
||||
virtual void EventOccured(NotificationService& service,
|
||||
virtual void EventOccurred(NotificationService& service,
|
||||
const KMessage* event);
|
||||
};
|
||||
|
||||
@ -716,7 +716,7 @@ DriverWatcher::~DriverWatcher()
|
||||
|
||||
|
||||
void
|
||||
DriverWatcher::EventOccured(NotificationService& service,
|
||||
DriverWatcher::EventOccurred(NotificationService& service,
|
||||
const KMessage* event)
|
||||
{
|
||||
int32 opcode = event->GetInt32("opcode", -1);
|
||||
@ -950,7 +950,7 @@ DirectoryWatcher::~DirectoryWatcher()
|
||||
|
||||
|
||||
void
|
||||
DirectoryWatcher::EventOccured(NotificationService& service,
|
||||
DirectoryWatcher::EventOccurred(NotificationService& service,
|
||||
const KMessage* event)
|
||||
{
|
||||
int32 opcode = event->GetInt32("opcode", -1);
|
||||
|
@ -114,7 +114,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual void EventOccured(NotificationService& service,
|
||||
virtual void EventOccurred(NotificationService& service,
|
||||
const KMessage* event)
|
||||
{
|
||||
if (event->GetInt32("opcode", -1) != B_ENTRY_REMOVED)
|
||||
@ -136,7 +136,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
virtual void EventOccured(NotificationService& service,
|
||||
virtual void EventOccurred(NotificationService& service,
|
||||
const KMessage* event)
|
||||
{
|
||||
int32 opcode = event->GetInt32("opcode", -1);
|
||||
|
@ -500,7 +500,7 @@ NodeMonitorService::_SendNotificationMessage(KMessage &message,
|
||||
do {
|
||||
monitor_listener *listener = iterator.Current();
|
||||
if (listener->flags & list->flags)
|
||||
listener->listener->EventOccured(*this, &message);
|
||||
listener->listener->EventOccurred(*this, &message);
|
||||
} while (iterator.Next() != NULL);
|
||||
}
|
||||
|
||||
|
@ -212,7 +212,7 @@ public:
|
||||
DirectoryWatcher();
|
||||
virtual ~DirectoryWatcher();
|
||||
|
||||
virtual void EventOccured(NotificationService& service,
|
||||
virtual void EventOccurred(NotificationService& service,
|
||||
const KMessage* event);
|
||||
};
|
||||
|
||||
@ -221,7 +221,7 @@ public:
|
||||
ModuleWatcher();
|
||||
virtual ~ModuleWatcher();
|
||||
|
||||
virtual void EventOccured(NotificationService& service,
|
||||
virtual void EventOccurred(NotificationService& service,
|
||||
const KMessage* event);
|
||||
};
|
||||
|
||||
@ -1204,7 +1204,7 @@ DirectoryWatcher::~DirectoryWatcher()
|
||||
|
||||
|
||||
void
|
||||
DirectoryWatcher::EventOccured(NotificationService& service,
|
||||
DirectoryWatcher::EventOccurred(NotificationService& service,
|
||||
const KMessage* event)
|
||||
{
|
||||
int32 opcode = event->GetInt32("opcode", -1);
|
||||
@ -1244,7 +1244,7 @@ ModuleWatcher::~ModuleWatcher()
|
||||
|
||||
|
||||
void
|
||||
ModuleWatcher::EventOccured(NotificationService& service, const KMessage* event)
|
||||
ModuleWatcher::EventOccurred(NotificationService& service, const KMessage* event)
|
||||
{
|
||||
if (event->GetInt32("opcode", -1) != B_STAT_CHANGED
|
||||
|| (event->GetInt32("fields", 0) & B_STAT_MODIFICATION_TIME) == 0)
|
||||
@ -1639,7 +1639,7 @@ ModuleNotificationService::_Notify(int32 opcode, dev_t device, ino_t directory,
|
||||
}
|
||||
|
||||
// notify them!
|
||||
listener->listener->EventOccured(*this, &event);
|
||||
listener->listener->EventOccurred(*this, &event);
|
||||
|
||||
// we might need to watch new files now
|
||||
if (opcode == B_ENTRY_CREATED)
|
||||
|
Loading…
Reference in New Issue
Block a user