diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2017-08-23 15:24:27 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-09-02 15:33:50 +0000 |
commit | 2574584da4c6ad2ce96103e39bce2dbd84f5a8df (patch) | |
tree | 92d50e0ca53ce81b73f8b70f5eca06b7bef1cb1f /src/animation/frontend/qabstractchannelmapping_p.h | |
parent | b8f309338ceb7c24834bb1a41084fa8f85d6659b (diff) |
Create backend nodes for any QAbstractChannelMapping subclass
Introduces a new creation change type to distinguish between
the frontend node triggering the creation. Following commits will
add the new channel mapping types and populate the backend node
appropriately.
Change-Id: I09b3cbcd3d716c9e9c18873066b9f282222ab783
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/animation/frontend/qabstractchannelmapping_p.h')
-rw-r--r-- | src/animation/frontend/qabstractchannelmapping_p.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/animation/frontend/qabstractchannelmapping_p.h b/src/animation/frontend/qabstractchannelmapping_p.h index f5d165cdf..1a1de4ba9 100644 --- a/src/animation/frontend/qabstractchannelmapping_p.h +++ b/src/animation/frontend/qabstractchannelmapping_p.h @@ -52,19 +52,24 @@ // #include <Qt3DCore/private/qnode_p.h> +#include <Qt3DAnimation/private/qchannelmappingcreatedchange_p.h> QT_BEGIN_NAMESPACE namespace Qt3DAnimation { +class QAbstractChannelMapping; + class QAbstractChannelMappingPrivate : public Qt3DCore::QNodePrivate { public: QAbstractChannelMappingPrivate(); + static const QAbstractChannelMappingPrivate *get(const Qt3DAnimation::QAbstractChannelMapping *q); + Q_DECLARE_PUBLIC(QAbstractChannelMapping) - // TODO Add member variables + QChannelMappingCreatedChangeBase::MappingType m_mappingType; }; struct QAbstractChannelMappingData |