[haiku-commits] r34144 - in haiku/trunk: headers/private/kernel src/system/kernel src/system/kernel/debug src/system/kernel/device_manager src/system/kernel/disk_device_manager ...

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 20 Nov 2009 08:10:23 +0100 (CET)

Author: bonefish
Date: 2009-11-20 08:10:23 +0100 (Fri, 20 Nov 2009)
New Revision: 34144
Changeset: http://dev.haiku-os.org/changeset/34144/haiku

Modified:
   haiku/trunk/headers/private/kernel/Notifications.h
   haiku/trunk/src/system/kernel/Notifications.cpp
   haiku/trunk/src/system/kernel/debug/system_profiler.cpp
   haiku/trunk/src/system/kernel/device_manager/legacy_drivers.cpp
   haiku/trunk/src/system/kernel/disk_device_manager/KDiskDeviceManager.cpp
   haiku/trunk/src/system/kernel/fs/node_monitor.cpp
   haiku/trunk/src/system/kernel/module.cpp
Log:
Fixed spelling.


Modified: haiku/trunk/headers/private/kernel/Notifications.h
===================================================================
--- haiku/trunk/headers/private/kernel/Notifications.h  2009-11-19 22:55:43 UTC 
(rev 34143)
+++ haiku/trunk/headers/private/kernel/Notifications.h  2009-11-20 07:10:23 UTC 
(rev 34144)
@@ -32,7 +32,7 @@
 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 @@
                                                                        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 @@
                                                                        port_id 
port, uint32 token);
 
 private:
-       virtual void                            
EventOccured(NotificationService& service,
+       virtual void                            
EventOccurred(NotificationService& service,
                                                                        const 
KMessage* event);
        virtual void                            AllListenersNotified(
                                                                        
NotificationService& service);

Modified: haiku/trunk/src/system/kernel/Notifications.cpp
===================================================================
--- haiku/trunk/src/system/kernel/Notifications.cpp     2009-11-19 22:55:43 UTC 
(rev 34143)
+++ haiku/trunk/src/system/kernel/Notifications.cpp     2009-11-20 07:10:23 UTC 
(rev 34144)
@@ -28,7 +28,7 @@
 
 
 void
-NotificationListener::EventOccured(NotificationService& service,
+NotificationListener::EventOccurred(NotificationService& service,
        const KMessage* event)
 {
 }
@@ -106,7 +106,7 @@
 
 
 void
-UserMessagingListener::EventOccured(NotificationService& service,
+UserMessagingListener::EventOccurred(NotificationService& service,
        const KMessage* event)
 {
        fSender.SendMessage(event, fPort, fToken);
@@ -176,7 +176,7 @@
        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 @@
 
 
 void
-DefaultUserNotificationService::EventOccured(NotificationService& service,
+DefaultUserNotificationService::EventOccurred(NotificationService& service,
        const KMessage* event)
 {
        int32 eventCode = event->GetInt32("event", -1);

Modified: haiku/trunk/src/system/kernel/debug/system_profiler.cpp
===================================================================
--- haiku/trunk/src/system/kernel/debug/system_profiler.cpp     2009-11-19 
22:55:43 UTC (rev 34143)
+++ haiku/trunk/src/system/kernel/debug/system_profiler.cpp     2009-11-20 
07:10:23 UTC (rev 34144)
@@ -62,7 +62,7 @@
                                                                        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 @@
 
 
 void
-SystemProfiler::EventOccured(NotificationService& service,
+SystemProfiler::EventOccurred(NotificationService& service,
        const KMessage* event)
 {
        int32 eventCode;

Modified: haiku/trunk/src/system/kernel/device_manager/legacy_drivers.cpp
===================================================================
--- haiku/trunk/src/system/kernel/device_manager/legacy_drivers.cpp     
2009-11-19 22:55:43 UTC (rev 34143)
+++ haiku/trunk/src/system/kernel/device_manager/legacy_drivers.cpp     
2009-11-20 07:10:23 UTC (rev 34144)
@@ -173,7 +173,7 @@
                                                DirectoryWatcher();
        virtual                         ~DirectoryWatcher();
 
-       virtual void            EventOccured(NotificationService& service,
+       virtual void            EventOccurred(NotificationService& service,
                                                        const KMessage* event);
 };
 
@@ -182,7 +182,7 @@
                                                DriverWatcher();
        virtual                         ~DriverWatcher();
 
-       virtual void            EventOccured(NotificationService& service,
+       virtual void            EventOccurred(NotificationService& service,
                                                        const KMessage* event);
 };
 
@@ -716,7 +716,7 @@
 
 
 void
-DriverWatcher::EventOccured(NotificationService& service,
+DriverWatcher::EventOccurred(NotificationService& service,
        const KMessage* event)
 {
        int32 opcode = event->GetInt32("opcode", -1);
@@ -950,7 +950,7 @@
 
 
 void
-DirectoryWatcher::EventOccured(NotificationService& service,
+DirectoryWatcher::EventOccurred(NotificationService& service,
        const KMessage* event)
 {
        int32 opcode = event->GetInt32("opcode", -1);

Modified: 
haiku/trunk/src/system/kernel/disk_device_manager/KDiskDeviceManager.cpp
===================================================================
--- haiku/trunk/src/system/kernel/disk_device_manager/KDiskDeviceManager.cpp    
2009-11-19 22:55:43 UTC (rev 34143)
+++ haiku/trunk/src/system/kernel/disk_device_manager/KDiskDeviceManager.cpp    
2009-11-20 07:10:23 UTC (rev 34144)
@@ -114,7 +114,7 @@
        {
        }
 
-       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 @@
        {
        }
 
-       virtual void EventOccured(NotificationService& service,
+       virtual void EventOccurred(NotificationService& service,
                const KMessage* event)
        {
                int32 opcode = event->GetInt32("opcode", -1);

Modified: haiku/trunk/src/system/kernel/fs/node_monitor.cpp
===================================================================
--- haiku/trunk/src/system/kernel/fs/node_monitor.cpp   2009-11-19 22:55:43 UTC 
(rev 34143)
+++ haiku/trunk/src/system/kernel/fs/node_monitor.cpp   2009-11-20 07:10:23 UTC 
(rev 34144)
@@ -500,7 +500,7 @@
                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);
        }
 

Modified: haiku/trunk/src/system/kernel/module.cpp
===================================================================
--- haiku/trunk/src/system/kernel/module.cpp    2009-11-19 22:55:43 UTC (rev 
34143)
+++ haiku/trunk/src/system/kernel/module.cpp    2009-11-20 07:10:23 UTC (rev 
34144)
@@ -212,7 +212,7 @@
                                                DirectoryWatcher();
        virtual                         ~DirectoryWatcher();
 
-       virtual void            EventOccured(NotificationService& service,
+       virtual void            EventOccurred(NotificationService& service,
                                                        const KMessage* event);
 };
 
@@ -221,7 +221,7 @@
                                                ModuleWatcher();
        virtual                         ~ModuleWatcher();
 
-       virtual void            EventOccured(NotificationService& service,
+       virtual void            EventOccurred(NotificationService& service,
                                                        const KMessage* event);
 };
 
@@ -1204,7 +1204,7 @@
 
 
 void
-DirectoryWatcher::EventOccured(NotificationService& service,
+DirectoryWatcher::EventOccurred(NotificationService& service,
        const KMessage* event)
 {
        int32 opcode = event->GetInt32("opcode", -1);
@@ -1244,7 +1244,7 @@
 
 
 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 @@
                }
 
                // 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)


Other related posts:

  • » [haiku-commits] r34144 - in haiku/trunk: headers/private/kernel src/system/kernel src/system/kernel/debug src/system/kernel/device_manager src/system/kernel/disk_device_manager ... - ingo_weinhold