| 1 | // Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB). |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QT3DINPUT_QABSTRACTAXISINPUT_P_H |
| 5 | #define QT3DINPUT_QABSTRACTAXISINPUT_P_H |
| 6 | |
| 7 | // |
| 8 | // W A R N I N G |
| 9 | // ------------- |
| 10 | // |
| 11 | // This file is not part of the Qt API. It exists for the convenience |
| 12 | // of other Qt classes. This header file may change from version to |
| 13 | // version without notice, or even be removed. |
| 14 | // |
| 15 | // We mean it. |
| 16 | // |
| 17 | |
| 18 | #include <Qt3DCore/qnodeid.h> |
| 19 | #include <QtCore/qvariant.h> |
| 20 | |
| 21 | #include <Qt3DCore/private/qnode_p.h> |
| 22 | |
| 23 | QT_BEGIN_NAMESPACE |
| 24 | |
| 25 | namespace Qt3DInput { |
| 26 | |
| 27 | class QAbstractPhysicalDevice; |
| 28 | |
| 29 | class QAbstractAxisInputPrivate : public Qt3DCore::QNodePrivate |
| 30 | { |
| 31 | public: |
| 32 | QAbstractAxisInputPrivate() |
| 33 | : Qt3DCore::QNodePrivate() |
| 34 | , m_sourceDevice(nullptr) |
| 35 | {} |
| 36 | |
| 37 | QAbstractPhysicalDevice *m_sourceDevice; |
| 38 | }; |
| 39 | |
| 40 | struct QAbstractAxisInputData |
| 41 | { |
| 42 | Qt3DCore::QNodeId sourceDeviceId; |
| 43 | }; |
| 44 | |
| 45 | } // Qt3DInput |
| 46 | |
| 47 | QT_END_NAMESPACE |
| 48 | |
| 49 | #endif // QT3DINPUT_QABSTRACTAXISINPUT_P_H |
| 50 | |
| 51 | |