1 /*
2  *  SPDX-FileCopyrightText: 2011 Shaun Reich <shaun.reich@kdemail.net>
3  *  SPDX-FileCopyrightText: 2008 Montel Laurent <montel@kde.org>
4  *
5  *  SPDX-License-Identifier: GPL-2.0-or-later
6  */
7 
8 #ifndef KONSOLEPROFILESSERVICE_H
9 #define KONSOLEPROFILESSERVICE_H
10 
11 #include <Plasma/Service>
12 #include <Plasma/ServiceJob>
13 
14 class KonsoleProfilesService : public Plasma::Service
15 {
16     Q_OBJECT
17 
18 public:
19     KonsoleProfilesService(QObject *parent, const QString &profileName);
20 
21 protected:
22     Plasma::ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> &parameters) override;
23 };
24 
25 class ProfileJob : public Plasma::ServiceJob
26 {
27     Q_OBJECT
28 
29 public:
30     ProfileJob(KonsoleProfilesService *service, const QString &operation, const QMap<QString, QVariant> &parameters);
31     void start() override;
32 };
33 
34 #endif
35