Initial checkin. Abstract base class for various partition types.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5229 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Tyler Dauwalder 2003-11-02 01:05:25 +00:00
parent ab5385e386
commit c75570328b

View File

@ -0,0 +1,27 @@
//----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered
// by the OpenBeOS license.
//
// Copyright (c) 2003 Tyler Dauwalder, tyler@dauwalder.net
//---------------------------------------------------------------------
#ifndef _UDF_PARTITION_H
#define _UDF_PARTITION_H
/*! \file Partition.h
*/
#include <SupportDefs.h>
namespace Udf {
/*! \brief Abstract base class for various UDF partition types.
*/
class Partition {
public:
virtual ~Partition() {}
virtual status_t MapBlock(uint32 logicalBlock, uint32 &physicalBlock) = 0;
};
}; // namespace Udf
#endif // _UDF_PARTITION_H