2 * Copyright 2015, François Revol <revol@free.fr>
3 * Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
4 * Copyright 2008-2012, Axel Dörfler, axeld@pinc-software.de.
5 * Copyright 2012, Gerasim Troeglazov (3dEyes**), 3dEyes@gmail.com
7 * Distributed under the terms of the MIT License.
13 #include <DiskSystemAddOn.h>
19 class FATAddOn
: public BDiskSystemAddOn
{
24 virtual status_t
CreatePartitionHandle(
25 BMutablePartition
* partition
,
26 BPartitionHandle
** handle
);
27 virtual status_t
GetParameterEditor(
28 B_PARAMETER_EDITOR_TYPE type
,
29 BPartitionParameterEditor
** editor
);
31 virtual bool CanInitialize(
32 const BMutablePartition
* partition
);
33 virtual status_t
ValidateInitialize(
34 const BMutablePartition
* partition
,
35 BString
* name
, const char* parameters
);
36 virtual status_t
Initialize(BMutablePartition
* partition
,
37 const char* name
, const char* parameters
,
38 BPartitionHandle
** handle
);
42 class FATPartitionHandle
: public BPartitionHandle
{
45 BMutablePartition
* partition
);
46 ~FATPartitionHandle();
50 virtual uint32
SupportedOperations(uint32 mask
);
54 #endif // _FAT_ADD_ON_H