summaryrefslogtreecommitdiffstats
path: root/qt-mobile/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-12 14:57:27 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-12 14:57:27 -0800
commit5873a08197abc39168ca9e70eae1b2b732aa7779 (patch)
tree66009dc90ab3001f5e0bdee3d15027444d27fde7 /qt-mobile/gpslocation.h
parenta8b0e9aa19a3c10b7ea1659bef18355c53049870 (diff)
downloadsubsurface-5873a08197abc39168ca9e70eae1b2b732aa7779.tar.gz
Location service: add member to apply the gps locations to dives
This is a direct conversion of the existing code in subsurfacewebservices to the different data structures in use here. I did not try to abstract this out to have both share a common helper because I assume that the Subsurface web service will pretty quickly become obsolete (together with the companion app). Right now this is not hooked up anywhere. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/gpslocation.h')
-rw-r--r--qt-mobile/gpslocation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/gpslocation.h b/qt-mobile/gpslocation.h
index f4a2fc737..9310875d8 100644
--- a/qt-mobile/gpslocation.h
+++ b/qt-mobile/gpslocation.h
@@ -13,6 +13,7 @@ class GpsLocation : QObject
Q_OBJECT
public:
GpsLocation(QObject *parent);
+ bool applyLocations();
private:
QGeoPositionInfo lastPos;