| 1 | /* |
| 2 | SPDX-FileCopyrightText: 2006-2007 Kevin Ottens <ervin@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 SOLID_DEVICEINTERFACE_P_H |
| 8 | #define SOLID_DEVICEINTERFACE_P_H |
| 9 | |
| 10 | #include <QPointer> |
| 11 | |
| 12 | namespace Solid |
| 13 | { |
| 14 | class DevicePrivate; |
| 15 | |
| 16 | class DeviceInterfacePrivate |
| 17 | { |
| 18 | public: |
| 19 | DeviceInterfacePrivate(); |
| 20 | virtual ~DeviceInterfacePrivate(); |
| 21 | |
| 22 | QObject *backendObject() const; |
| 23 | void setBackendObject(QObject *object); |
| 24 | DevicePrivate *devicePrivate() const; |
| 25 | void setDevicePrivate(DevicePrivate *devicePrivate); |
| 26 | |
| 27 | private: |
| 28 | QPointer<QObject> m_backendObject; |
| 29 | DevicePrivate *m_devicePrivate; |
| 30 | }; |
| 31 | } |
| 32 | |
| 33 | #endif |
| 34 | |