/* === This file is part of Calamares - === * * SPDX-FileCopyrightText: 2014-2015 Teo Mrnjavac * SPDX-FileCopyrightText: 2020 Adriaan de Groot * SPDX-License-Identifier: GPL-3.0-or-later * * Calamares is Free Software: see the License-Identifier above. * */ /**@file Various small jobs * * This file collects miscellaneous jobs that need to be run to prepare * the system for the user-creation job. */ #ifndef USERS_MISCJOBS_H #define USERS_MISCJOBS_H #include "Job.h" class Config; class SetupSudoJob : public Calamares::Job { Q_OBJECT public: SetupSudoJob( const QString& group ); QString prettyName() const override; Calamares::JobResult exec() override; public: QString m_sudoGroup; }; class SetupGroupsJob : public Calamares::Job { Q_OBJECT public: SetupGroupsJob( const Config* config ); QString prettyName() const override; Calamares::JobResult exec() override; public: const Config* m_config; }; #endif