5c7270efd7
* 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
24 lines
592 B
C++
24 lines
592 B
C++
//----------------------------------------------------------------------
|
|
// This software is part of the OpenBeOS distribution and is covered
|
|
// by the OpenBeOS license.
|
|
//---------------------------------------------------------------------
|
|
|
|
#ifndef _PARTITIONING_INFO_H
|
|
#define _PARTITIONING_INFO_H
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
class BPartitioningInfo {
|
|
public:
|
|
status_t GetPartitionableSpaceAt(int32 index, off_t *offset,
|
|
off_t *size) const;
|
|
int32 CountPartitionableSpaces() const;
|
|
|
|
private:
|
|
off_t *fOffsets;
|
|
off_t *fSizes;
|
|
int32 fCount;
|
|
};
|
|
|
|
#endif // _PARTITIONING_INFO_H
|