File indexing completed on 2024-05-19 04:03:19

0001 /*
0002     SPDX-FileCopyrightText: 2006-2007 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_DEVICEINTERFACE_P_H
0008 #define SOLID_DEVICEINTERFACE_P_H
0009 
0010 #include <QPointer>
0011 
0012 namespace Solid
0013 {
0014 class DeviceInterfacePrivate
0015 {
0016 public:
0017     DeviceInterfacePrivate();
0018     virtual ~DeviceInterfacePrivate();
0019 
0020     QObject *backendObject() const;
0021     void setBackendObject(QObject *object);
0022     DevicePrivate *devicePrivate() const;
0023     void setDevicePrivate(DevicePrivate *devicePrivate);
0024 
0025 private:
0026     QPointer<QObject> m_backendObject;
0027     DevicePrivate *m_devicePrivate;
0028 };
0029 }
0030 
0031 #endif