2020-09-29 23:55:11 +01:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2016 Chantara Tith <tith.chantara@gmail.com>
|
2016-07-03 14:45:34 +01:00
|
|
|
|
2020-09-29 23:55:11 +01:00
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef KPMCORE_REMOVEVOLUMEGROUPJOB_H
|
2017-09-10 20:12:52 +01:00
|
|
|
#define KPMCORE_REMOVEVOLUMEGROUPJOB_H
|
2016-07-03 14:45:34 +01:00
|
|
|
|
|
|
|
#include "jobs/job.h"
|
|
|
|
|
|
|
|
class VolumeManagerDevice;
|
|
|
|
class Partition;
|
|
|
|
class Report;
|
|
|
|
|
|
|
|
class QString;
|
|
|
|
|
|
|
|
class RemoveVolumeGroupJob : public Job
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RemoveVolumeGroupJob(VolumeManagerDevice& dev);
|
|
|
|
|
|
|
|
public:
|
|
|
|
bool run(Report& parent) override;
|
|
|
|
QString description() const override;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
VolumeManagerDevice& device() {
|
|
|
|
return m_Device;
|
|
|
|
}
|
|
|
|
const VolumeManagerDevice& device() const {
|
|
|
|
return m_Device;
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
VolumeManagerDevice& m_Device;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|