diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-01 17:21:30 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-01 17:26:18 -0800 |
commit | 14a09689a421a32e812094b5fb99f33b99443266 (patch) | |
tree | 0943b9d37e725dd1f30bf33bd3155a4449898409 /subsurface-core/gpslocation.h | |
parent | 66cd83a70fcf315f639355eb191c57ca749b7eb4 (diff) | |
download | subsurface-14a09689a421a32e812094b5fb99f33b99443266.tar.gz |
Location service: get the current position
If we have a fix that is fewer than 5 minutes old, take it, otherwise trigger
an update.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/gpslocation.h')
-rw-r--r-- | subsurface-core/gpslocation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/gpslocation.h b/subsurface-core/gpslocation.h index 0adcfdc29..94706f611 100644 --- a/subsurface-core/gpslocation.h +++ b/subsurface-core/gpslocation.h @@ -20,6 +20,7 @@ public: int getGpsNum() const; QString getUserid(QString user, QString passwd); bool hasLocationsSource(); + QString currentPosition(); private: QGeoPositionInfo lastPos; |