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 "qt3dquickanimation_global_p.h" |
5 | #include "qt3dquickanimationnodefactory_p.h" |
6 | |
7 | QT_BEGIN_NAMESPACE |
8 | |
9 | namespace Qt3DAnimation { |
10 | namespace Quick { |
11 | |
12 | void Quick3DAnimation_initialize() |
13 | { |
14 | Qt3DCore::QAbstractNodeFactory::registerNodeFactory(factory: QuickAnimationNodeFactory::instance()); |
15 | } |
16 | |
17 | void Quick3DAnimation_registerType(const char *className, const char *quickName, int major, int minor) |
18 | { |
19 | QuickAnimationNodeFactory::instance()->registerType(className, quickName, major, minor); |
20 | } |
21 | |
22 | } // namespace Quick |
23 | } // namespace Qt3DAnimation |
24 | |
25 | QT_END_NAMESPACE |
26 |