calamares/src/modules/dracutlukscfg/DracutLuksCfgJob.h
Adriaan de Groot 1f21b9ad73 [dracutlukscfg] Const data
The QLatin1String() might be replaced by char[], that trades one
initialization for two but with a simpler data section; this
probably is not worth profiling.
2020-11-30 14:41:02 +01:00

41 lines
888 B
C++

/* === This file is part of Calamares - <https://calamares.io> ===
*
* 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
*
* Calamares is Free Software: see the License-Identifier above.
*
*/
#ifndef DRACUTLUKSCFGJOB_H
#define DRACUTLUKSCFGJOB_H
#include <QObject>
#include <QVariantMap>
#include "CppJob.h"
#include "utils/PluginFactory.h"
#include "DllMacro.h"
class PLUGINDLLEXPORT DracutLuksCfgJob : public Calamares::CppJob
{
Q_OBJECT
public:
explicit DracutLuksCfgJob( QObject* parent = nullptr );
~DracutLuksCfgJob() override;
QString prettyName() const override;
Calamares::JobResult exec() override;
private:
};
CALAMARES_PLUGIN_FACTORY_DECLARATION( DracutLuksCfgJobFactory )
#endif // DRACUTLUKSCFGJOB_H