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:
parent
24123c4298
commit
c10d80a295
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue