From 7b198d812e45dfdaf08d5660fec27b3b4acf2a6f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 23 Jun 2013 13:01:09 +0200 Subject: [PATCH] B_WATCH_FOLDERS_ONLY -> B_WATCH_DIRECTORIES_ONLY Stick to the nomenclature generally used in the public API. --- headers/private/storage/PathMonitor.h | 6 +++--- src/kits/storage/PathMonitor.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/headers/private/storage/PathMonitor.h b/headers/private/storage/PathMonitor.h index 777ffd892d..657162d269 100644 --- a/headers/private/storage/PathMonitor.h +++ b/headers/private/storage/PathMonitor.h @@ -10,9 +10,9 @@ // additional flags (combined with those in NodeMonitor.h) -#define B_WATCH_FILES_ONLY 0x0100 -#define B_WATCH_RECURSIVELY 0x0200 -#define B_WATCH_FOLDERS_ONLY 0x0400 +#define B_WATCH_FILES_ONLY 0x0100 +#define B_WATCH_RECURSIVELY 0x0200 +#define B_WATCH_DIRECTORIES_ONLY 0x0400 // NOTE: B_WATCH_RECURSIVELY usually implies to watch for file changes as well, // if that is not desired, add B_WATCH_FOLDERS_ONLY to the flags. diff --git a/src/kits/storage/PathMonitor.cpp b/src/kits/storage/PathMonitor.cpp index 9e43750d0f..9763280d05 100644 --- a/src/kits/storage/PathMonitor.cpp +++ b/src/kits/storage/PathMonitor.cpp @@ -334,7 +334,7 @@ PathHandler::_WatchFilesOnly() const bool PathHandler::_WatchFoldersOnly() const { - return (fFlags & B_WATCH_FOLDERS_ONLY) != 0; + return (fFlags & B_WATCH_DIRECTORIES_ONLY) != 0; }