mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
[partition] Switch to using the generic PartitionSize class
Instead of relying on a module-specific implementation, use the new PartitionSize class for storing partition sizes. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
This commit is contained in:
parent
8f9f8f1cc1
commit
80fd3d3353
5 changed files with 10 additions and 289 deletions
|
@ -20,6 +20,8 @@
|
|||
#ifndef PARTITIONLAYOUT_H
|
||||
#define PARTITIONLAYOUT_H
|
||||
|
||||
#include "partition/PartitionSize.h"
|
||||
|
||||
#include "core/PartUtils.h"
|
||||
|
||||
// KPMcore
|
||||
|
@ -41,9 +43,9 @@ public:
|
|||
QString partLabel;
|
||||
QString partMountPoint;
|
||||
FileSystem::Type partFileSystem = FileSystem::Unknown;
|
||||
PartUtils::PartSize partSize;
|
||||
PartUtils::PartSize partMinSize;
|
||||
PartUtils::PartSize partMaxSize;
|
||||
Calamares::PartitionSize partSize;
|
||||
Calamares::PartitionSize partMinSize;
|
||||
Calamares::PartitionSize partMaxSize;
|
||||
|
||||
/// @brief All-zeroes PartitionEntry
|
||||
PartitionEntry() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue