1*c7557032STyler Dauwalder //---------------------------------------------------------------------- 2*c7557032STyler Dauwalder // This software is part of the OpenBeOS distribution and is covered 3*c7557032STyler Dauwalder // by the OpenBeOS license. 4*c7557032STyler Dauwalder // 5*c7557032STyler Dauwalder // Copyright (c) 2003 Tyler Dauwalder, tyler@dauwalder.net 6*c7557032STyler Dauwalder //--------------------------------------------------------------------- 7*c7557032STyler Dauwalder #ifndef _UDF_PARTITION_H 8*c7557032STyler Dauwalder #define _UDF_PARTITION_H 9*c7557032STyler Dauwalder 10*c7557032STyler Dauwalder /*! \file Partition.h 11*c7557032STyler Dauwalder */ 12*c7557032STyler Dauwalder 13*c7557032STyler Dauwalder #include <SupportDefs.h> 14*c7557032STyler Dauwalder 15*c7557032STyler Dauwalder namespace Udf { 16*c7557032STyler Dauwalder 17*c7557032STyler Dauwalder /*! \brief Abstract base class for various UDF partition types. 18*c7557032STyler Dauwalder */ 19*c7557032STyler Dauwalder class Partition { 20*c7557032STyler Dauwalder public: 21*c7557032STyler Dauwalder virtual ~Partition() {} 22*c7557032STyler Dauwalder virtual status_t MapBlock(uint32 logicalBlock, uint32 &physicalBlock) = 0; 23*c7557032STyler Dauwalder }; 24*c7557032STyler Dauwalder 25*c7557032STyler Dauwalder }; // namespace Udf 26*c7557032STyler Dauwalder 27*c7557032STyler Dauwalder #endif // _UDF_PARTITION_H 28