haiku/headers/private/storage/PartitioningInfo.h
Tyler Dauwalder 5b3f1d0cda DiskDevice API v2.4
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-28 21:51:24 +00:00

24 lines
615 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(uint32 index, off_t *Offset, off_t *Size) const;
uint32 CountPartitionableSpaces() const;
BPartition* Parent() const;
private:
off_t *fOffsetArray;
off_t *fSizeArray;
uint32 fCount;
};
#endif // _PARTITIONING_INFO_H