1 | // Copyright (C) 2022 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-3.0-only |
3 | |
4 | #include <QtQml/qqmlextensionplugin.h> |
5 | #include <QtQml/qqml.h> |
6 | #include <QtQml/qqmlengine.h> |
7 | #include <QtQml/qqmlcomponent.h> |
8 | #include "qtquick3daudioglobal_p.h" |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | class QQuick3DAudioModule : public QQmlEngineExtensionPlugin |
13 | { |
14 | Q_OBJECT |
15 | Q_PLUGIN_METADATA(IID QQmlEngineExtensionInterface_iid) |
16 | |
17 | public: |
18 | QQuick3DAudioModule(QObject *parent = nullptr) |
19 | : QQmlEngineExtensionPlugin(parent) |
20 | { |
21 | volatile auto registration = qml_register_types_QtQuick3D_SpatialAudio; |
22 | Q_UNUSED(registration); |
23 | } |
24 | |
25 | void initializeEngine(QQmlEngine *engine, const char *uri) override |
26 | { |
27 | Q_UNUSED(engine); |
28 | Q_UNUSED(uri); |
29 | } |
30 | }; |
31 | |
32 | QT_END_NAMESPACE |
33 | |
34 | #include "qquick3dspatialaudio_plugin.moc" |
35 | |
36 |