1// Copyright (C) 2015 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 <Qt3DQuickInput/private/qt3dquickinput_global_p.h>
5#include <Qt3DQuickInput/private/qt3dquickinputnodefactory_p.h>
6
7QT_BEGIN_NAMESPACE
8
9namespace Qt3DInput {
10namespace Quick {
11
12void Quick3DInput_initialize()
13{
14 Qt3DCore::QAbstractNodeFactory::registerNodeFactory(factory: QuickInputNodeFactory::instance());
15}
16
17void Quick3DInput_registerType(const char *className, const char *quickName, int major, int minor)
18{
19 QuickInputNodeFactory::instance()->registerType(className, quickName, major, minor);
20}
21
22} // namespace Quick
23} // namespace Qt3DInput
24
25QT_END_NAMESPACE
26

source code of qt3d/src/quick3d/quick3dinput/qt3dquickinput_global.cpp