Solid

iokitmanager.h
1/*
2 SPDX-FileCopyrightText: 2009 Harald Fernengel <harry@kdevelop.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#ifndef SOLID_BACKENDS_IOKIT_IOKITMANAGER_H
8#define SOLID_BACKENDS_IOKIT_IOKITMANAGER_H
9
10#include <solid/deviceinterface.h>
11#include <solid/devices/ifaces/devicemanager.h>
12
13#include <QStringList>
14
15namespace Solid
16{
17namespace Backends
18{
19namespace IOKit
20{
21class IOKitManagerPrivate;
22
23class IOKitManager : public Solid::Ifaces::DeviceManager
24{
26
27public:
28 IOKitManager(QObject *parent);
29 virtual ~IOKitManager();
30
31 virtual QString udiPrefix() const;
32 virtual QSet<Solid::DeviceInterface::Type> supportedInterfaces() const;
33
34 virtual QStringList allDevices();
35 virtual QStringList devicesFromQuery(const QString &parentUdi, Solid::DeviceInterface::Type type);
36 virtual QObject *createDevice(const QString &udi);
37
38private:
39 IOKitManagerPrivate *d;
40};
41}
42}
43}
44
45#endif // SOLID_BACKENDS_IOKIT_IOKITMANAGER_H
Type
This enum type defines the type of device interface that a Device can have.
This class specifies the interface a backend will have to implement in order to be used in the system...
The single responsibility of this class is to create arguments valid for logind Inhibit call.
Definition fakebattery.h:16
Q_OBJECTQ_OBJECT
QObject * parent() const const
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.