mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 20:05:37 -04:00
Make it possible to "resize" (aka delete + create for now) existing partitions
This commit is contained in:
parent
df790986ae
commit
3d40527d29
4 changed files with 87 additions and 18 deletions
|
@ -18,11 +18,16 @@
|
|||
#ifndef PMUTILS_H
|
||||
#define PMUTILS_H
|
||||
|
||||
// CalaPM
|
||||
#include <fs/filesystem.h>
|
||||
|
||||
// Qt
|
||||
#include <QList>
|
||||
|
||||
class Device;
|
||||
class Partition;
|
||||
class PartitionNode;
|
||||
class PartitionRole;
|
||||
|
||||
namespace PMUtils
|
||||
{
|
||||
|
@ -33,6 +38,8 @@ bool isPartitionNew( Partition* );
|
|||
|
||||
Partition* findPartitionByMountPoint( const QList< Device* >& devices, const QString& mountPoint );
|
||||
|
||||
Partition* createNewPartition( PartitionNode* parent, const Device& device, const PartitionRole& role, FileSystem::Type fsType, qint64 firstSector, qint64 lastSector );
|
||||
|
||||
}
|
||||
|
||||
#endif /* PMUTILS_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue