4#ifndef QGEOPOSITIONINFOSOURCEWINRT_H
5#define QGEOPOSITIONINFOSOURCEWINRT_H
21#include <QtCore/qtimer.h>
23#include <EventToken.h>
29 namespace Geolocation{
31 struct IPositionChangedEventArgs;
32 struct IStatusChangedEventArgs;
60 ABI::Windows::Devices::Geolocation::IPositionChangedEventArgs *
args);
62 ABI::Windows::Devices::Geolocation::IStatusChangedEventArgs *
args);
75 void virtualPositionUpdate();
76 void singleUpdateTimeOut();
static JNINativeMethod methods[]
void setUpdateInterval(int msec) override
HRESULT onStatusChanged(ABI::Windows::Devices::Geolocation::IGeolocator *locator, ABI::Windows::Devices::Geolocation::IStatusChangedEventArgs *args)
QGeoPositionInfo lastKnownPosition(bool fromSatellitePositioningMethodsOnly=false) const override
Returns an update containing the last known position, or a null update if none is available.
bool requestAccess() const
Error error() const override
Returns the type of error that last occurred.
~QGeoPositionInfoSourceWinRT() override
int minimumUpdateInterval() const override
void startUpdates() override
void nativePositionUpdate(const QGeoPositionInfo)
HRESULT onPositionChanged(ABI::Windows::Devices::Geolocation::IGeolocator *locator, ABI::Windows::Devices::Geolocation::IPositionChangedEventArgs *args)
void requestUpdate(int timeout=0) override
void setPreferredPositioningMethods(PositioningMethods methods) override
void stopUpdates() override
PositioningMethods supportedPositioningMethods() const override
Returns the positioning methods available to this source.
Error
The Error enumeration represents the errors which can occur.
QObject * parent() const
Returns a pointer to the parent object.
Combined button and popup list for selecting options.
GLbitfield GLuint64 timeout
[4]
QFileInfo info(fileName)
[8]