2 * Copyright 2002-2010, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _VOLUME_ROSTER_H
6 #define _VOLUME_ROSTER_H
9 #include <Application.h>
10 #include <SupportDefs.h>
21 virtual ~BVolumeRoster();
23 status_t
GetNextVolume(BVolume
* volume
);
26 status_t
GetBootVolume(BVolume
* volume
);
28 status_t
StartWatching(
29 BMessenger messenger
= be_app_messenger
);
31 BMessenger
Messenger() const;
34 virtual void _SeveredVRoster1();
35 virtual void _SeveredVRoster2();
39 // The iteration cookie for next_dev()
42 // BMessenger referring to the target to
43 // which the watching notification
44 // messages are sent. The object is
45 // allocated and owned by the roster,
46 // or NULL if not watching.
52 #endif // _VOLUME_ROSTER_H