Add a watch_volume method to the node monitor to be able to watch node changes on a whole volume and not only for one node.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39020 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2003-2008, Haiku Inc. All Rights Reserved.
|
||||
* Copyright 2003-2010, Haiku Inc. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _NODE_MONITOR_H
|
||||
@@ -83,10 +83,15 @@ class BLooper;
|
||||
class BHandler;
|
||||
|
||||
|
||||
extern status_t watch_node(const node_ref *node, uint32 flags, BMessenger target);
|
||||
extern status_t watch_volume(const dev_t volume, uint32 flags,
|
||||
BMessenger target);
|
||||
extern status_t watch_volume(const dev_t volume, uint32 flags,
|
||||
const BHandler *handler, const BLooper *looper = NULL);
|
||||
|
||||
extern status_t watch_node(const node_ref *node, uint32 flags,
|
||||
BMessenger target);
|
||||
extern status_t watch_node(const node_ref *node, uint32 flags,
|
||||
const BHandler *handler,
|
||||
const BLooper *looper = NULL);
|
||||
const BHandler *handler, const BLooper *looper = NULL);
|
||||
|
||||
extern status_t stop_watching(BMessenger target);
|
||||
extern status_t stop_watching(const BHandler *handler, const BLooper *looper = NULL);
|
||||
|
||||
Reference in New Issue
Block a user