File indexing completed on 2025-06-29 03:43:38

0001 /*
0002     SPDX-FileCopyrightText: 2010 Kevin Ottens <ervin@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 SOLID_BACKENDS_UDEV_DEVICEINTERFACE_H
0008 #define SOLID_BACKENDS_UDEV_DEVICEINTERFACE_H
0009 
0010 #include "udevdevice.h"
0011 #include <solid/devices/ifaces/deviceinterface.h>
0012 
0013 #include <QObject>
0014 
0015 namespace Solid
0016 {
0017 namespace Backends
0018 {
0019 namespace UDev
0020 {
0021 class DeviceInterface : public QObject, virtual public Solid::Ifaces::DeviceInterface
0022 {
0023     Q_OBJECT
0024     Q_INTERFACES(Solid::Ifaces::DeviceInterface)
0025 public:
0026     DeviceInterface(UDevDevice *device);
0027     ~DeviceInterface() override;
0028 
0029 protected:
0030     UDevDevice *m_device;
0031 };
0032 }
0033 }
0034 }
0035 
0036 #endif