2 * Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
8 #include <DiskSystemAddOn.h>
11 class BFSAddOn
: public BDiskSystemAddOn
{
16 virtual status_t
CreatePartitionHandle(
17 BMutablePartition
* partition
,
18 BPartitionHandle
** handle
);
19 virtual status_t
GetParameterEditor(
20 B_PARAMETER_EDITOR_TYPE type
,
21 BPartitionParameterEditor
** editor
);
23 virtual bool CanInitialize(
24 const BMutablePartition
* partition
);
25 virtual status_t
ValidateInitialize(
26 const BMutablePartition
* partition
,
27 BString
* name
, const char* parameters
);
28 virtual status_t
Initialize(BMutablePartition
* partition
,
29 const char* name
, const char* parameters
,
30 BPartitionHandle
** handle
);
34 class BFSPartitionHandle
: public BPartitionHandle
{
37 BMutablePartition
* partition
);
38 ~BFSPartitionHandle();
42 virtual uint32
SupportedOperations(uint32 mask
);
44 virtual status_t
Repair(bool checkOnly
);
48 #endif // _BFS_ADD_ON_H