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:
Ingo Weinhold
2003-07-06 23:11:10 +00:00
parent c0455c33b8
commit 5c7270efd7
17 changed files with 748 additions and 1295 deletions
+3 -5
View File
@@ -6,7 +6,7 @@
#ifndef _PARTITIONING_INFO_H
#define _PARTITIONING_INFO_H
class BPartition;
#include <SupportDefs.h>
class BPartitioningInfo {
public:
@@ -14,11 +14,9 @@ public:
off_t *size) const;
int32 CountPartitionableSpaces() const;
BPartition *Parent() const; // needed?
private:
off_t *fOffsetArray;
off_t *fSizeArray;
off_t *fOffsets;
off_t *fSizes;
int32 fCount;
};