1 | // Copyright (C) 2017 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #include "qt3dquickscene2d_global_p.h" |
5 | #include "qt3dquickscene2dnodefactory_p.h" |
6 | |
7 | QT_BEGIN_NAMESPACE |
8 | |
9 | namespace Qt3DRender { |
10 | namespace Quick { |
11 | |
12 | void Quick3DScene2D_initialize() |
13 | { |
14 | Qt3DCore::QAbstractNodeFactory::registerNodeFactory(factory: QuickScene2DNodeFactory::instance()); |
15 | } |
16 | |
17 | void Quick3DScene2D_registerType(const char *className, const char *quickName, int major, int minor) |
18 | { |
19 | QuickScene2DNodeFactory::instance()->registerType(className, quickName, major, minor); |
20 | } |
21 | |
22 | } // namespace Quick |
23 | } // namespace Qt3DRender |
24 | |
25 | QT_END_NAMESPACE |
26 |