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
6
7QGeoPositionInfoSource *QGeoPositionInfoSourceFactoryWasm::positionInfoSource(QObject *parent, const QVariantMap &parameters)
8{
9 Q_UNUSED(parameters)
10 if (QGeoPositionInfoSourceWasm::geolocation().isUndefined())
11 return nullptr;
12 return new QGeoPositionInfoSourceWasm(parent);
13}
14
15QGeoSatelliteInfoSource *QGeoPositionInfoSourceFactoryWasm::satelliteInfoSource(QObject *parent, const QVariantMap &parameters)
16{
17 Q_UNUSED(parent)
18 Q_UNUSED(parameters)
19 return nullptr;
20}
21
22QGeoAreaMonitorSource *QGeoPositionInfoSourceFactoryWasm::areaMonitor(QObject *parent, const QVariantMap &parameters)
23{
24 Q_UNUSED(parent)
25 Q_UNUSED(parameters)
26 return nullptr;
27}