summaryrefslogtreecommitdiffstats
path: root/tools/utils/qtcreator/templates/wizards/classes/qt3d/file_p.h
blob: d1acea35e78c6d254349cdafb1b553cac7d575e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%{Cpp:LicenseTemplate}\

#ifndef %{PRIVATEGUARD}
#define %{PRIVATEGUARD}

//
//  W A R N I N G
//  -------------
//
// This file is not part of the Qt API.  It exists for the convenience
// of other Qt classes.  This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//

@if '%{Base}' === 'QNode'
#include <Qt3DCore/private/qnode_p.h>
@elsif '%{Base}' === 'QComponent'
#include <Qt3DCore/private/qcomponent_p.h>
@elsif '%{Base}' === 'QEntity'
#include <Qt3DCore/private/qentity_p.h>
@endif

QT_BEGIN_NAMESPACE
%{JS: Cpp.openNamespaces('%{Class}')}
class %{CN}Private : public Qt3DCore::%{Base}Private
{
public:
    %{CN}Private();

    Q_DECLARE_PUBLIC(%{CN})

    // TODO Add member variables
};
@if '%{Base}' === 'QNode' || '%{Base}' === 'QComponent'

struct %{CN}Data
{
    // TODO: Add members that should be sent to the backend
};
@endif
%{JS: Cpp.closeNamespaces('%{Class}')}

QT_END_NAMESPACE

#endif // %{PRIVATEGUARD}\