B_WATCH_FOLDERS_ONLY -> B_WATCH_DIRECTORIES_ONLY
Stick to the nomenclature generally used in the public API.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user