1// Copyright (C) 2016 Research In Motion
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef QSENSORBACKEND_P_H
4#define QSENSORBACKEND_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include "qsensorbackend.h"
18
19#include "private/qobject_p.h"
20
21QT_BEGIN_NAMESPACE
22
23class QSensorBackendPrivate : public QObjectPrivate
24{
25 Q_DECLARE_PUBLIC(QSensorBackend)
26public:
27 explicit QSensorBackendPrivate(QSensor *sensor)
28 : m_sensor(sensor)
29 {
30 }
31
32 QSensor *m_sensor;
33};
34
35QT_END_NAMESPACE
36
37#endif
38
39

source code of qtsensors/src/sensors/qsensorbackend_p.h