File indexing completed on 2024-06-09 04:00:37

0001 /*
0002     SPDX-FileCopyrightText: 2020 MBition GmbH
0003     SPDX-FileContributor: Kai Uwe Broulik <kai_uwe.broulik@mbition.io>
0004 
0005     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006 */
0007 
0008 #ifndef SOLID_BACKENDS_IMOBILE_IMOBILEDEVICEINTERFACE_H
0009 #define SOLID_BACKENDS_IMOBILE_IMOBILEDEVICEINTERFACE_H
0010 
0011 #include <solid/devices/ifaces/deviceinterface.h>
0012 //#include "udevdevice.h"
0013 
0014 #include <QObject>
0015 
0016 namespace Solid
0017 {
0018 namespace Backends
0019 {
0020 namespace IMobile
0021 {
0022 class IMobileDevice;
0023 
0024 class DeviceInterface : public QObject, virtual public Solid::Ifaces::DeviceInterface
0025 {
0026     Q_OBJECT
0027     Q_INTERFACES(Solid::Ifaces::DeviceInterface)
0028 
0029 public:
0030     explicit DeviceInterface(IMobileDevice *device);
0031     ~DeviceInterface() override;
0032 
0033 protected:
0034     IMobileDevice *m_device;
0035 };
0036 
0037 }
0038 }
0039 }
0040 
0041 #endif // SOLID_BACKENDS_IMOBILE_IMOBILEDEVICEINTERFACE_H