2 ** Copyright 2004, the Haiku project. All rights reserved.
3 ** Distributed under the terms of the Haiku License.
5 ** Author : Jérôme Duval
6 ** Original authors: Marcus Overhagen, Axel Dörfler
8 #ifndef _DEVICE_MANAGER_H
9 #define _DEVICE_MANAGER_H
11 // Manager for devices monitoring
18 class DeviceManager
: public BLooper
{
26 status_t
StartMonitoringDevice(const char* device
);
27 status_t
StopMonitoringDevice(const char* device
);
29 void MessageReceived(BMessage
*msg
);
32 status_t
AddDirectory(node_ref
* nref
);
33 status_t
RemoveDirectory(node_ref
* nref
);
34 status_t
AddDevice(entry_ref
* nref
);
39 #endif // _DEVICE_MANAGER_H