BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / file_systems / udf / Partition.h
blob224778e92bd7dd1f321b3d2b653e408d474de774
1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
3 // by the OpenBeOS license.
4 //
5 // Copyright (c) 2003 Tyler Dauwalder, tyler@dauwalder.net
6 //---------------------------------------------------------------------
7 #ifndef _UDF_PARTITION_H
8 #define _UDF_PARTITION_H
10 /*! \file Partition.h
13 #include <SupportDefs.h>
15 /*! \brief Abstract base class for various UDF partition types.
17 class Partition {
18 public:
19 virtual ~Partition() {}
20 virtual status_t MapBlock(uint32 logicalBlock, off_t &physicalBlock) = 0;
21 // virtual status_t MapExtent(uint32 logicalBlock, uint32 logicalLength,
22 // uint32 &physicalBlock, uint32 &physicalLength) = 0;
25 #endif // _UDF_PARTITION_H