mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
66cd83a70f
commit
14a09689a4
2 changed files with 24 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ public:
|
|||
int getGpsNum() const;
|
||||
QString getUserid(QString user, QString passwd);
|
||||
bool hasLocationsSource();
|
||||
QString currentPosition();
|
||||
|
||||
private:
|
||||
QGeoPositionInfo lastPos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue