/* === This file is part of Calamares - === * * SPDX-FileCopyrightText: 2014-2015, Teo Mrnjavac * SPDX-FileCopyrightText: 2020, Camilo Higuita * SPDX-License-Identifier: GPL-3.0-or-later * * Calamares is Free Software: see the License-Identifier above. * */ #ifndef SUMMARYQMLVIEWSTEP_H #define SUMMARYQMLVIEWSTEP_H #include "Config.h" #include "DllMacro.h" #include "utils/PluginFactory.h" #include "viewpages/QmlViewStep.h" #include class SummaryPage; class PLUGINDLLEXPORT SummaryQmlViewStep : public Calamares::QmlViewStep { Q_OBJECT public: explicit SummaryQmlViewStep( QObject* parent = nullptr ); virtual ~SummaryQmlViewStep() override; QString prettyName() const override; bool isNextEnabled() const override; bool isBackEnabled() const override; bool isAtBeginning() const override; bool isAtEnd() const override; QList< Calamares::job_ptr > jobs() const override; void onActivate() override; QObject* getConfig() override { return m_config; } private: Config* m_config; }; CALAMARES_PLUGIN_FACTORY_DECLARATION( SummaryQmlViewStepFactory ) #endif // SUMMARYQMLVIEWSTEP_H