B_WATCH_DIRECTORY
&& watch_node(&fNodeRef, B_WATCH_DIRECTORY, fController) == B_OK)
if (watch_node(&ref, B_WATCH_DIRECTORY, this) != B_OK) {
if (watch_node(&ref, B_WATCH_DIRECTORY, this) == B_OK)
watch_node(&fFolderNodeRef, B_WATCH_DIRECTORY, this);
watch_node(&fNodeRef, B_WATCH_DIRECTORY, BMessenger(this));
watch_node(&fNode, B_WATCH_DIRECTORY, *fMessenger);
watch_node(&ref, B_WATCH_DIRECTORY, this);
return watch_node(&nodeRef, B_WATCH_DIRECTORY, *fListener);
return watch_node(&fUserPrintersNodRef, B_WATCH_DIRECTORY, *fListener);
status = watch_node(nref, B_WATCH_DIRECTORY, this);
if ((fFlags & B_WATCH_DIRECTORY) != 0) {
if ((fFlags & B_WATCH_DIRECTORY) != 0) {
if (notify && (fFlags & B_WATCH_DIRECTORY) != 0) {
uint32 flags = (fFlags & WATCH_NODE_FLAG_MASK) | B_WATCH_DIRECTORY;
uint32 flags = fChild == NULL ? pathFlags : B_WATCH_DIRECTORY;
fFlags &= ~uint32(B_WATCH_NAME | B_WATCH_DIRECTORY);
| (_WatchRecursively() ? B_WATCH_DIRECTORY : 0);
TTracker::WatchNode(&nodeRef, B_WATCH_DIRECTORY, window);
TTracker::WatchNode(sourceModel.NodeRef(), B_WATCH_DIRECTORY | B_WATCH_CHILDREN
TTracker::WatchNode(&nodeRef, B_WATCH_DIRECTORY, this);
TTracker::WatchNode(sourceModel.NodeRef(), B_WATCH_DIRECTORY | B_WATCH_CHILDREN
watch_node(&itemNode, B_WATCH_DIRECTORY, this);
watch_node(&nref, B_WATCH_DIRECTORY, this);
TTracker::WatchNode(&trashNode, B_WATCH_DIRECTORY, this);
watch_node(&trashNode, B_WATCH_DIRECTORY, this);
BPathMonitor::StartWatching(path, B_WATCH_DIRECTORY | B_WATCH_CHILDREN
watch_node(&nodeRef, B_WATCH_DIRECTORY, this);
status_t result = watch_node(&fPackageNodeRef, B_WATCH_DIRECTORY, this);
watch_node(&nodeRef, B_WATCH_DIRECTORY, this);
watch_node(&nodeRef, B_WATCH_DIRECTORY, this);
status = watch_node(&nodeRef, B_WATCH_DIRECTORY, this);
status_t error = watch_node(&nref, B_WATCH_DIRECTORY, this);
status = watch_node(nref, B_WATCH_DIRECTORY, this);
status_t error = watch_node(&PackagesDirectoryRef(), B_WATCH_DIRECTORY,
add_node_listener(stat.st_dev, stat.st_ino, B_WATCH_DIRECTORY,
add_node_listener(stat.st_dev, stat.st_ino, B_WATCH_DIRECTORY,
error = add_node_listener(st.st_dev, st.st_ino, B_WATCH_DIRECTORY,
deviceEvent->node, B_WATCH_DIRECTORY, *this);
_GetInterestedMonitorListeners(device, directory, B_WATCH_DIRECTORY,
_GetInterestedMonitorListeners(device, fromDirectory, B_WATCH_DIRECTORY,
_GetInterestedMonitorListeners(device, toDirectory, B_WATCH_DIRECTORY,
return _AddNode(device, node, NULL, B_WATCH_DIRECTORY, fDirectoryWatcher);
status_t status = watch_node(&fNodeRef, B_WATCH_DIRECTORY, this);
B_WATCH_DIRECTORY,
if ((flags & B_WATCH_DIRECTORY) != 0)
!recursive && (fFlags & B_WATCH_DIRECTORY) == 0,