| 1 | // Copyright (C) 2017 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 QT3DANIMATION_QABSTRACTCHANNELMAPPING_P_H |
| 5 | #define QT3DANIMATION_QABSTRACTCHANNELMAPPING_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/private/qnode_p.h> |
| 19 | |
| 20 | QT_BEGIN_NAMESPACE |
| 21 | |
| 22 | namespace Qt3DAnimation { |
| 23 | |
| 24 | class QAbstractChannelMapping; |
| 25 | |
| 26 | class Q_AUTOTEST_EXPORT QAbstractChannelMappingPrivate : public Qt3DCore::QNodePrivate |
| 27 | { |
| 28 | public: |
| 29 | QAbstractChannelMappingPrivate(); |
| 30 | |
| 31 | static const QAbstractChannelMappingPrivate *get(const Qt3DAnimation::QAbstractChannelMapping *q); |
| 32 | |
| 33 | Q_DECLARE_PUBLIC(QAbstractChannelMapping) |
| 34 | |
| 35 | enum MappingType { |
| 36 | ChannelMapping = 0, |
| 37 | SkeletonMapping, |
| 38 | CallbackMapping |
| 39 | }; |
| 40 | |
| 41 | MappingType m_mappingType; |
| 42 | }; |
| 43 | |
| 44 | struct QAbstractChannelMappingData |
| 45 | { |
| 46 | // TODO: Add members that should be sent to the backend |
| 47 | }; |
| 48 | |
| 49 | } // namespace Qt3DAnimation |
| 50 | |
| 51 | |
| 52 | QT_END_NAMESPACE |
| 53 | |
| 54 | #endif // QT3DANIMATION_QABSTRACTCHANNELMAPPING_P_H |
| 55 | |