4#ifndef QGEOPOSITIONINFOSOURCEWASM_H
5#define QGEOPOSITIONINFOSOURCEWASM_H
23#include <emscripten/val.h>
62 void reconfigureRunningSystem();
65 QGeoPositionInfo m_lastKnownPosition;
69 bool m_updates_running =
false;
70 bool m_singleUpdatePending =
false;
static QGeoPositionInfoDispatcherWasm * instance()
void stopUpdates() override
void geolocationError(GeolocationPositionError error)
Error error() const override
Returns the type of error that last occurred.
void setPreferredPositioningMethods(PositioningMethods methods) override
~QGeoPositionInfoSourceWasm()
void requestUpdate(int timeout=0) override
PositioningMethods supportedPositioningMethods() const override
Returns the positioning methods available to this source.
void geolocationSuccess(GeolocationPosition position)
void setUpdateInterval(int msec) override
int minimumUpdateInterval() const override
QGeoPositionInfoSourceWasm(QObject *parent=0)
QGeoPositionInfo lastKnownPosition(bool fromSatellitePositioningMethodsOnly=false) const override
Returns an update containing the last known position, or a null update if none is available.
Combined button and popup list for selecting options.
QT_BEGIN_NAMESPACE typedef emscripten::val GeolocationCoordinates
emscripten::val GeolocationPositionHandlerId
emscripten::val Geolocation
emscripten::val GeolocationPositionError
emscripten::val GeolocationPosition