2020-08-25 16:05:56 +02:00
|
|
|
/* === This file is part of Calamares - <https://calamares.io> ===
|
2016-09-27 04:26:58 +02:00
|
|
|
*
|
2020-08-22 01:19:58 +02:00
|
|
|
* SPDX-FileCopyrightText: 2016 Kevin Kofler <kevin.kofler@chello.at>
|
|
|
|
* SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2016-09-27 04:26:58 +02:00
|
|
|
*
|
2020-08-25 16:05:56 +02:00
|
|
|
* Calamares is Free Software: see the License-Identifier above.
|
2016-09-27 04:26:58 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef DUMMYCPPJOB_H
|
|
|
|
#define DUMMYCPPJOB_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QVariantMap>
|
|
|
|
|
2020-03-10 02:45:40 +01:00
|
|
|
#include "CppJob.h"
|
2016-09-27 04:26:58 +02:00
|
|
|
|
2020-03-10 02:45:40 +01:00
|
|
|
#include "utils/PluginFactory.h"
|
2016-09-27 04:26:58 +02:00
|
|
|
|
2020-03-10 02:45:40 +01:00
|
|
|
#include "DllMacro.h"
|
2016-09-27 04:26:58 +02:00
|
|
|
|
|
|
|
class PLUGINDLLEXPORT DummyCppJob : public Calamares::CppJob
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit DummyCppJob( QObject* parent = nullptr );
|
2020-09-22 22:49:30 +02:00
|
|
|
~DummyCppJob() override;
|
2016-09-27 04:26:58 +02:00
|
|
|
|
|
|
|
QString prettyName() const override;
|
|
|
|
|
|
|
|
Calamares::JobResult exec() override;
|
|
|
|
|
|
|
|
void setConfigurationMap( const QVariantMap& configurationMap ) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
QVariantMap m_configurationMap;
|
|
|
|
};
|
|
|
|
|
|
|
|
CALAMARES_PLUGIN_FACTORY_DECLARATION( DummyCppJobFactory )
|
|
|
|
|
2019-08-09 16:34:53 +02:00
|
|
|
#endif // DUMMYCPPJOB_H
|