Files
haiku-beta6/headers/private/storage/PartitioningInfo.h
T

26 lines
634 B
C++
Raw Normal View History

2003-05-28 21:51:24 +00:00
//----------------------------------------------------------------------
// 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?
2003-05-28 21:51:24 +00:00
private:
off_t *fOffsetArray;
off_t *fSizeArray;
int32 fCount;
2003-05-28 21:51:24 +00:00
};
#endif // _PARTITIONING_INFO_H