Add TYPE_UNPARTITIONED partition type (#788308)

Just adds the enumeration.  Using it will follow.

Bug 788308 - Remove whole_device partition flag
This commit is contained in:
Mike Fleetwood 2016-08-13 12:25:46 +01:00 committed by Curtis Gedak
parent 24123c4298
commit c10d80a295
1 changed files with 5 additions and 4 deletions

View File

@ -33,10 +33,11 @@ namespace GParted
enum PartitionType {
TYPE_PRIMARY = 0,
TYPE_LOGICAL = 1,
TYPE_EXTENDED = 2,
TYPE_UNALLOCATED = 3
TYPE_PRIMARY = 0, // Primary partition on a partitioned drive
TYPE_LOGICAL = 1, // Logical partition on a partitioned drive
TYPE_EXTENDED = 2, // Extended partition on a partitioned drive
TYPE_UNALLOCATED = 3, // Unallocated space on a partitioned drive
TYPE_UNPARTITIONED = 4 // Unpartitioned whole drive
};
enum PartitionStatus {