From c869b2bb07924eef2861b205d19ddafecf27c5e0 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sat, 7 Nov 2015 09:48:26 +0100 Subject: [PATCH] BPathMonitor: Remove unused headers, some whitespace cleanup. --- src/kits/storage/PathMonitor.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/kits/storage/PathMonitor.cpp b/src/kits/storage/PathMonitor.cpp index 0a2481a2d1a..bb6db839ef1 100644 --- a/src/kits/storage/PathMonitor.cpp +++ b/src/kits/storage/PathMonitor.cpp @@ -14,10 +14,6 @@ #include #include -#include -#include -#include - #include #include #include @@ -185,7 +181,7 @@ class Ancestor { fIsDirectory = S_ISDIR(st.st_mode); // start watching - uint32 flags = fChild == NULL ? pathFlags : B_WATCH_DIRECTORY; + uint32 flags = fChild == NULL ? pathFlags : B_WATCH_DIRECTORY; // In theory B_WATCH_NAME would suffice for all existing ancestors, // plus B_WATCH_DIRECTORY for the parent of the first not existing // ancestor. In practice this complicates the transitions when an @@ -582,7 +578,7 @@ class PathHandler : public BHandler { status_t _AddNode(const node_ref& nodeRef, bool isDirectory, bool notify, - Entry* entry = NULL, Node** _node = NULL); + Entry* entry = NULL, Node** _node = NULL); void _DeleteNode(Node* node, bool notify); Node* _GetNode(const node_ref& nodeRef) const; @@ -605,7 +601,7 @@ class PathHandler : public BHandler { void _NotifyEntryMoved(const entry_ref& fromEntryRef, const entry_ref& toEntryRef, const node_ref& nodeRef, - const char* fromPath, const char* path, + const char* fromPath, const char* path, bool isDirectory, bool wasAdded, bool wasRemoved) const; void _NotifyTarget(BMessage& message,