DiskDevice API v2.2.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3375 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Tyler Dauwalder
2003-05-28 21:46:11 +00:00
parent 40f3824020
commit 17dc6e0c84
9 changed files with 225 additions and 93 deletions
+6 -4
View File
@@ -8,17 +8,19 @@
class BDiskDevice : public BPartition {
public:
void Unset(); // What is this for?
char* DeviceType() const;
virtual char* Path() const;
bool IsRemovable() const;
bool HasMedia() const;
status_t Eject(bool update = false);
status_t Update(bool *updated = NULL);
void Unset();
bool IsModified() const;
int32 CommitModifications(bool synchronously = true,
BMessenger progressMessenger = BMessenger(),
BMessage *template = NULL);
private:
friend class BDiskDeviceList;
friend class BDiskDeviceRoster;