mirror of
https://review.haiku-os.org/haiku
synced 2025-01-20 13:31:28 +01:00
bef8916ea6
* Replaced uint32 for indices and counts with int32. * Some additions to BDiskDeviceRoster and BDiskDeviceJob. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3453 a95241bf-73f2-0310-859d-f6bbb57e9c96
26 lines
634 B
C++
26 lines
634 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
|
|
|
|
class BPartition;
|
|
|
|
class BPartitioningInfo {
|
|
public:
|
|
status_t GetPartitionableSpaceAt(int32 index, off_t *offset,
|
|
off_t *size) const;
|
|
int32 CountPartitionableSpaces() const;
|
|
|
|
BPartition *Parent() const; // needed?
|
|
|
|
private:
|
|
off_t *fOffsetArray;
|
|
off_t *fSizeArray;
|
|
int32 fCount;
|
|
};
|
|
|
|
#endif // _PARTITIONING_INFO_H
|