B_WATCH_FOLDERS_ONLY -> B_WATCH_DIRECTORIES_ONLY

Stick to the nomenclature generally used in the public API.
This commit is contained in:
Ingo Weinhold 2013-06-23 13:01:09 +02:00
parent 8d572c9264
commit 7b198d812e
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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;
}