1/*
2 SPDX-FileCopyrightText: 2006 Michaƫl Larouche <michael.larouche@kdemail.net>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6#ifndef SOLID_BACKENDS_FAKEHW_FAKEDEVICE_P_H
7#define SOLID_BACKENDS_FAKEHW_FAKEDEVICE_P_H
8
9#include <QMap>
10#include <QObject>
11#include <QString>
12#include <QVariant>
13
14#include "fakedevice.h"
15
16namespace Solid
17{
18namespace Backends
19{
20namespace Fake
21{
22class FakeDevice;
23class FakeDevice::Private : public QObject
24{
25 Q_OBJECT
26public:
27 QString udi;
28 QMap<QString, QVariant> propertyMap;
29 QStringList interfaceList;
30 bool locked;
31 QString lockReason;
32 bool broken;
33
34Q_SIGNALS:
35 void propertyChanged(const QMap<QString, int> &changes);
36 void conditionRaised(const QString &condition, const QString &reason);
37
38 friend class FakeDevice;
39};
40}
41}
42}
43
44#endif
45

source code of solid/src/solid/devices/backends/fakehw/fakedevice_p.h