2014-09-04 19:37:30 +02:00
|
|
|
/* === This file is part of Calamares - <http://github.com/calamares> ===
|
|
|
|
*
|
2015-03-13 15:55:06 +01:00
|
|
|
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org>
|
2014-09-04 19:37:30 +02:00
|
|
|
*
|
|
|
|
* Calamares is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Calamares is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2015-10-29 17:33:15 +01:00
|
|
|
#ifndef PARTITIONACTIONS_H
|
|
|
|
#define PARTITIONACTIONS_H
|
2014-09-04 19:37:30 +02:00
|
|
|
|
2016-04-22 16:49:58 +02:00
|
|
|
#include <QString>
|
|
|
|
|
2014-09-04 19:37:30 +02:00
|
|
|
class PartitionCoreModule;
|
2014-09-16 18:12:30 +02:00
|
|
|
class Device;
|
2015-11-18 16:02:51 +01:00
|
|
|
class Partition;
|
2014-09-04 19:37:30 +02:00
|
|
|
|
2015-10-29 17:33:15 +01:00
|
|
|
namespace PartitionActions
|
2014-09-04 19:37:30 +02:00
|
|
|
{
|
2016-04-22 16:49:58 +02:00
|
|
|
void doAutopartition( PartitionCoreModule* core,
|
|
|
|
Device* dev,
|
|
|
|
const QString& luksPassphrase = QString() );
|
|
|
|
|
|
|
|
void doReplacePartition( PartitionCoreModule* core,
|
|
|
|
Device* dev,
|
|
|
|
Partition* partition );
|
2015-10-29 17:33:15 +01:00
|
|
|
}
|
2014-09-04 19:37:30 +02:00
|
|
|
|
2015-10-29 17:33:15 +01:00
|
|
|
#endif // PARTITIONACTIONS_H
|