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
10QT_BEGIN_NAMESPACE
11
12class QQuick3DAudioModule : public QQmlEngineExtensionPlugin
13{
14 Q_OBJECT
15 Q_PLUGIN_METADATA(IID QQmlEngineExtensionInterface_iid)
16
17public:
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
32QT_END_NAMESPACE
33
34#include "qquick3dspatialaudio_plugin.moc"
35
36

source code of qtmultimedia/src/spatialaudioquick3d/qquick3dspatialaudio_plugin.cpp