From 9837ec16c86f0a533600230350e8e89203d1e9e8 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 20 Nov 2009 07:10:23 +0000 Subject: [PATCH] Fixed spelling. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34144 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/Notifications.h | 6 +++--- src/system/kernel/Notifications.cpp | 8 ++++---- src/system/kernel/debug/system_profiler.cpp | 4 ++-- src/system/kernel/device_manager/legacy_drivers.cpp | 8 ++++---- .../kernel/disk_device_manager/KDiskDeviceManager.cpp | 4 ++-- src/system/kernel/fs/node_monitor.cpp | 2 +- src/system/kernel/module.cpp | 10 +++++----- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/headers/private/kernel/Notifications.h b/headers/private/kernel/Notifications.h index 0d0fbc86db..ca6f9f08d2 100644 --- a/headers/private/kernel/Notifications.h +++ b/headers/private/kernel/Notifications.h @@ -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); diff --git a/src/system/kernel/Notifications.cpp b/src/system/kernel/Notifications.cpp index 36a4702abf..48c1d80044 100644 --- a/src/system/kernel/Notifications.cpp +++ b/src/system/kernel/Notifications.cpp @@ -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); diff --git a/src/system/kernel/debug/system_profiler.cpp b/src/system/kernel/debug/system_profiler.cpp index 5fae6eff8a..d774d04a16 100644 --- a/src/system/kernel/debug/system_profiler.cpp +++ b/src/system/kernel/debug/system_profiler.cpp @@ -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; diff --git a/src/system/kernel/device_manager/legacy_drivers.cpp b/src/system/kernel/device_manager/legacy_drivers.cpp index c871b1f00f..2b9336f280 100644 --- a/src/system/kernel/device_manager/legacy_drivers.cpp +++ b/src/system/kernel/device_manager/legacy_drivers.cpp @@ -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); diff --git a/src/system/kernel/disk_device_manager/KDiskDeviceManager.cpp b/src/system/kernel/disk_device_manager/KDiskDeviceManager.cpp index 98d5d2d2f0..d738786a0f 100644 --- a/src/system/kernel/disk_device_manager/KDiskDeviceManager.cpp +++ b/src/system/kernel/disk_device_manager/KDiskDeviceManager.cpp @@ -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); diff --git a/src/system/kernel/fs/node_monitor.cpp b/src/system/kernel/fs/node_monitor.cpp index 23d74aa07e..90684a7764 100644 --- a/src/system/kernel/fs/node_monitor.cpp +++ b/src/system/kernel/fs/node_monitor.cpp @@ -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); } diff --git a/src/system/kernel/module.cpp b/src/system/kernel/module.cpp index 8449bd054e..53523bddad 100644 --- a/src/system/kernel/module.cpp +++ b/src/system/kernel/module.cpp @@ -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)