Solid

powerbackendloader.h
1/*
2 SPDX-FileCopyrightText: 2014 Alejandro Fiestas Olivares <afiestas@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef POWER_BACKEND_LOADER_H
8#define POWER_BACKEND_LOADER_H
9
10#include <solid/power.h>
11
12namespace Solid
13{
14class AbstractAcPluggedJob;
15class AbstractInhibitionJob;
16class AbstractStatesJob;
17class AbstractRequestStateJob;
18class PowerNotifier;
19class PowerBackendLoader
20{
21public:
22 static AbstractAcPluggedJob *AcPluggedJob();
23 static AbstractInhibitionJob *addInhibitionJob(Power::InhibitionTypes inhibitions, const QString &description);
24 static AbstractStatesJob *statesJob();
25 static AbstractRequestStateJob *requestState();
26 static PowerNotifier *notifier();
27};
28}
29
30#endif // POWER_BACKEND_LOADER_H
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:56:28 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.