2020-08-25 16:05:56 +02:00
|
|
|
/* === This file is part of Calamares - <https://calamares.io> ===
|
2017-11-09 11:19:24 +01:00
|
|
|
*
|
2020-08-22 01:19:58 +02:00
|
|
|
* SPDX-FileCopyrightText: 2017-2018 Adriaan de Groot <groot@kde.org>
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2017-11-09 11:19:24 +01:00
|
|
|
*
|
2020-08-25 16:05:56 +02:00
|
|
|
* Calamares is Free Software: see the License-Identifier above.
|
2017-11-09 11:19:24 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-05-19 10:42:25 +02:00
|
|
|
#ifndef TRACKING_TRACKINGJOBS_H
|
|
|
|
#define TRACKING_TRACKINGJOBS_H
|
2017-11-09 11:19:24 +01:00
|
|
|
|
|
|
|
#include "Job.h"
|
|
|
|
|
2020-05-19 10:42:25 +02:00
|
|
|
class InstallTrackingConfig;
|
|
|
|
class MachineTrackingConfig;
|
2020-05-25 15:56:32 +02:00
|
|
|
class UserTrackingConfig;
|
2020-05-19 10:42:25 +02:00
|
|
|
|
|
|
|
/** @section Tracking Jobs
|
|
|
|
*
|
|
|
|
* The tracking jobs do the actual work of configuring tracking on the
|
|
|
|
* target machine. Tracking jobs may have *styles*, variations depending
|
|
|
|
* on the distro or environment of the target system. At the root of
|
|
|
|
* each family of tracking jobs (installation, machine, user) there is
|
2021-09-08 13:30:32 +02:00
|
|
|
* free function `addJob()` that takes the configuration
|
2020-05-19 10:42:25 +02:00
|
|
|
* information from the relevant Config sub-object and optionally
|
|
|
|
* adds the right job (subclass!) to the list of jobs.
|
|
|
|
*
|
2021-09-08 13:30:32 +02:00
|
|
|
* There are no job-classes defined here because you need to be using the
|
|
|
|
* `addJob()` interface instead.
|
2020-05-19 10:42:25 +02:00
|
|
|
*/
|
2017-11-22 13:39:52 +01:00
|
|
|
|
2020-06-23 13:37:56 +02:00
|
|
|
void addJob( Calamares::JobList& list, InstallTrackingConfig* config );
|
|
|
|
void addJob( Calamares::JobList& list, MachineTrackingConfig* config );
|
|
|
|
void addJob( Calamares::JobList& list, UserTrackingConfig* config );
|
|
|
|
|
2017-11-09 11:19:24 +01:00
|
|
|
#endif
|