1 | // Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB). |
2 | // Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies). |
3 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
4 | |
5 | #ifndef QT3DRENDER_RENDER_ENTITY_P_P_H |
6 | #define QT3DRENDER_RENDER_ENTITY_P_P_H |
7 | |
8 | // |
9 | // W A R N I N G |
10 | // ------------- |
11 | // |
12 | // This file is not part of the Qt API. It exists for the convenience |
13 | // of other Qt classes. This header file may change from version to |
14 | // version without notice, or even be removed. |
15 | // |
16 | // We mean it. |
17 | // |
18 | |
19 | #include <Qt3DRender/private/entity_p.h> |
20 | #include <Qt3DCore/private/qbackendnode_p.h> |
21 | |
22 | QT_BEGIN_NAMESPACE |
23 | |
24 | namespace Qt3DCore { |
25 | class QNode; |
26 | } |
27 | |
28 | namespace Qt3DRender { |
29 | |
30 | class QRenderAspect; |
31 | |
32 | namespace Render { |
33 | |
34 | class Q_AUTOTEST_EXPORT EntityPrivate : public Qt3DCore::QBackendNodePrivate { |
35 | public: |
36 | EntityPrivate(); |
37 | |
38 | Q_DECLARE_PUBLIC(Entity) |
39 | |
40 | static EntityPrivate *get(Entity *node); |
41 | |
42 | void componentAdded(Qt3DCore::QNode *frontend) override; |
43 | void componentRemoved(Qt3DCore::QNode *frontend) override; |
44 | }; |
45 | |
46 | } // namespace Render |
47 | } // namespace Qt3DRender |
48 | |
49 | QT_END_NAMESPACE |
50 | |
51 | #endif // QT3DRENDER_RENDER_ENTITY_P_P_H |
52 | |