File indexing completed on 2025-02-09 04:31:51
0001 /* 0002 SPDX-FileCopyrightText: 2014 Alejandro Fiestas Olivares <afiestas@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef POWER_BACKEND_LOADER_H 0008 #define POWER_BACKEND_LOADER_H 0009 0010 #include <solid/power.h> 0011 0012 namespace Solid 0013 { 0014 class AbstractAcPluggedJob; 0015 class AbstractInhibitionJob; 0016 class AbstractStatesJob; 0017 class AbstractRequestStateJob; 0018 class PowerNotifier; 0019 class PowerBackendLoader 0020 { 0021 public: 0022 static AbstractAcPluggedJob *AcPluggedJob(); 0023 static AbstractInhibitionJob *addInhibitionJob(Power::InhibitionTypes inhibitions, const QString &description); 0024 static AbstractStatesJob *statesJob(); 0025 static AbstractRequestStateJob *requestState(); 0026 static PowerNotifier *notifier(); 0027 }; 0028 } 0029 0030 #endif // POWER_BACKEND_LOADER_H