1 /* 2 SPDX-FileCopyrightText: 2011 Sebastian Kügler <sebas@kde.org> 3 4 SPDX-License-Identifier: LGPL-2.0-or-later 5 */ 6 7 #pragma once 8 9 #include <Plasma/Service> 10 #include <Plasma/ServiceJob> 11 12 using namespace Plasma; 13 14 class PowerManagementService : public Plasma::Service 15 { 16 Q_OBJECT 17 18 public: 19 explicit PowerManagementService(QObject *parent = nullptr); 20 ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> ¶meters) override; 21 }; 22