B_WATCH_FOLDERS_ONLY -> B_WATCH_DIRECTORIES_ONLY
Stick to the nomenclature generally used in the public API.
This commit is contained in:
parent
8d572c9264
commit
7b198d812e
@ -10,9 +10,9 @@
|
|||||||
|
|
||||||
|
|
||||||
// additional flags (combined with those in NodeMonitor.h)
|
// additional flags (combined with those in NodeMonitor.h)
|
||||||
#define B_WATCH_FILES_ONLY 0x0100
|
#define B_WATCH_FILES_ONLY 0x0100
|
||||||
#define B_WATCH_RECURSIVELY 0x0200
|
#define B_WATCH_RECURSIVELY 0x0200
|
||||||
#define B_WATCH_FOLDERS_ONLY 0x0400
|
#define B_WATCH_DIRECTORIES_ONLY 0x0400
|
||||||
// NOTE: B_WATCH_RECURSIVELY usually implies to watch for file changes as well,
|
// 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.
|
// if that is not desired, add B_WATCH_FOLDERS_ONLY to the flags.
|
||||||
|
|
||||||
|
@ -334,7 +334,7 @@ PathHandler::_WatchFilesOnly() const
|
|||||||
bool
|
bool
|
||||||
PathHandler::_WatchFoldersOnly() const
|
PathHandler::_WatchFoldersOnly() const
|
||||||
{
|
{
|
||||||
return (fFlags & B_WATCH_FOLDERS_ONLY) != 0;
|
return (fFlags & B_WATCH_DIRECTORIES_ONLY) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user