Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgeopositioninfosourcefactory_wasm.cpp
Go to the documentation of this file.
1// Copyright (C) 2024 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
7
8QGeoPositionInfoSource *QGeoPositionInfoSourceFactoryWasm::positionInfoSource(QObject *parent, const QVariantMap &parameters)
9{
10 Q_UNUSED(parameters)
11 if (QGeoPositionInfoSourceWasm::geolocation().isUndefined())
12 return nullptr;
13 return new QGeoPositionInfoSourceWasm(parent);
14}
15
16QGeoSatelliteInfoSource *QGeoPositionInfoSourceFactoryWasm::satelliteInfoSource(QObject *parent, const QVariantMap &parameters)
17{
18 Q_UNUSED(parent)
19 Q_UNUSED(parameters)
20 return nullptr;
21}
22
23QGeoAreaMonitorSource *QGeoPositionInfoSourceFactoryWasm::areaMonitor(QObject *parent, const QVariantMap &parameters)
24{
25 Q_UNUSED(parent)
26 Q_UNUSED(parameters)
27 return nullptr;
28}