1/*
2 SPDX-FileCopyrightText: 2010 Michael Zanetti <mzanetti@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 UPOWERDEVICEINTERFACE_H
8#define UPOWERDEVICEINTERFACE_H
9
10#include "upowerdevice.h"
11#include <ifaces/deviceinterface.h>
12
13#include <QObject>
14#include <QPointer>
15#include <QStringList>
16
17namespace Solid
18{
19namespace Backends
20{
21namespace UPower
22{
23class DeviceInterface : public QObject, virtual public Solid::Ifaces::DeviceInterface
24{
25 Q_OBJECT
26 Q_INTERFACES(Solid::Ifaces::DeviceInterface)
27public:
28 DeviceInterface(UPowerDevice *device);
29 ~DeviceInterface() override;
30
31protected:
32 QPointer<UPowerDevice> m_device;
33};
34}
35}
36}
37
38#endif // UPOWERDEVICEINTERFACE_H
39

source code of solid/src/solid/devices/backends/upower/upowerdeviceinterface.h