File indexing completed on 2024-05-12 05:37:20
0001 /* 0002 SPDX-FileCopyrightText: 2011 Sebastian Kügler <sebas@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <Plasma5Support/Service> 0010 #include <Plasma5Support/ServiceJob> 0011 0012 using namespace Plasma5Support; 0013 0014 class PowerManagementService : public Plasma5Support::Service 0015 { 0016 Q_OBJECT 0017 0018 public: 0019 explicit PowerManagementService(QObject *parent = nullptr); 0020 ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> ¶meters) override; 0021 };