File indexing completed on 2024-04-28 05:45:54

0001 /*
0002     SPDX-FileCopyrightText: 2016 Chantara Tith <tith.chantara@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-3.0-or-later
0005 */
0006 
0007 #ifndef KPMCORE_REMOVEVOLUMEGROUPJOB_H
0008 #define KPMCORE_REMOVEVOLUMEGROUPJOB_H
0009 
0010 #include "jobs/job.h"
0011 
0012 class VolumeManagerDevice;
0013 class Partition;
0014 class Report;
0015 
0016 class QString;
0017 
0018 class RemoveVolumeGroupJob : public Job
0019 {
0020 public:
0021     RemoveVolumeGroupJob(VolumeManagerDevice& dev);
0022 
0023 public:
0024     bool run(Report& parent) override;
0025     QString description() const override;
0026 
0027 protected:
0028     VolumeManagerDevice& device() {
0029         return m_Device;
0030     }
0031     const VolumeManagerDevice& device() const {
0032         return m_Device;
0033     }
0034 
0035 private:
0036     VolumeManagerDevice& m_Device;
0037 };
0038 
0039 #endif