Beginning of Disk Device API:
* Made all headers parsable. Also some smaller changes. * Added empty source files for new classes. * Changed obsolete implementations of existing classes, so that we now have basic functionality for BDiskDevice[Roster] and BPartition. Iterating through disk devices works and the data we get doesn't look too bad for the beginning. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3883 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
#ifndef _DISK_SYSTEM_H
|
||||
#define _DISK_SYSTEM_H
|
||||
|
||||
#include <DiskDeviceDefs.h>
|
||||
|
||||
class BPartition;
|
||||
|
||||
class BDiskSystem {
|
||||
public:
|
||||
const char *Name() const;
|
||||
@@ -18,9 +22,9 @@ public:
|
||||
bool SupportsMoving(BPartition *partition, bool *whileMounted) const;
|
||||
bool SupportsMovingChild(BPartition *child) const;
|
||||
bool SupportsCreatingChild(BPartition *partition) const;
|
||||
bool SupportsParentSystem(KPartition *child, const char *system) const;
|
||||
bool SupportsParentSystem(BPartition *child, const char *system) const;
|
||||
// True in most cases. NULL == raw device.
|
||||
bool SupportsChildSystem(KPartition *child, const char *system) const;
|
||||
bool SupportsChildSystem(BPartition *child, const char *system) const;
|
||||
// False for most file systems, true for most partitioning
|
||||
// systems.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user