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#include "qt3dquickextras_global_p.h"
5
6#include <Qt3DQuickExtras/private/qt3dquickextrasnodefactory_p.h>
7#include <QtQml/private/qqmlglobal_p.h>
8
9QT_BEGIN_NAMESPACE
10
11namespace Qt3DExtras {
12namespace Quick {
13
14void Quick3DExtras_initialize()
15{
16 Qt3DCore::QAbstractNodeFactory::registerNodeFactory(factory: QuickExtrasNodeFactory::instance());
17}
18
19void Quick3DExtras_registerType(const char *className, const char *quickName, int major, int minor)
20{
21 QuickExtrasNodeFactory::instance()->registerType(className, quickName, major, minor);
22}
23
24} // namespace Quick
25} // namespace Qt3DExtras
26
27QT_END_NAMESPACE
28

source code of qt3d/src/quick3d/quick3dextras/qt3dquickextras_global.cpp