1 /*
2     SPDX-FileCopyrightText: 2011 Sebastian Kügler <sebas@kde.org>
3 
4     SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #include "powermanagementservice.h"
8 #include "powermanagementjob.h"
9 
PowerManagementService(QObject * parent)10 PowerManagementService::PowerManagementService(QObject *parent)
11     : Plasma::Service(parent)
12 {
13     setName(QStringLiteral("powermanagementservice"));
14 }
15 
createJob(const QString & operation,QMap<QString,QVariant> & parameters)16 ServiceJob *PowerManagementService::createJob(const QString &operation, QMap<QString, QVariant> &parameters)
17 {
18     return new PowerManagementJob(operation, parameters, this);
19 }
20