aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-07 21:32:24 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-07 21:32:24 -0800
commit1c66e399fa1f3549a9c3349d3a3f13000bb0d353 (patch)
tree783c63bd022fbfd82af6c78d8faf571c950b19e0 /subsurface-core/gpslocation.h
parent0d9b22cf940463d670e42ea8321c18a69cbf0f26 (diff)
downloadsubsurface-1c66e399fa1f3549a9c3349d3a3f13000bb0d353.tar.gz
Download gps locations in the mobile app
This is not the same as the existing download to apply the gps fixes to the dive list. This allows us to download and store the GPS fixes in the settings. I may end up changing things around to have a shared implementation for downloading the GPS fixes, but for now this seemed easier. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/gpslocation.h')
-rw-r--r--subsurface-core/gpslocation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/gpslocation.h b/subsurface-core/gpslocation.h
index d595c877e..2d2d915d0 100644
--- a/subsurface-core/gpslocation.h
+++ b/subsurface-core/gpslocation.h
@@ -46,6 +46,7 @@ public slots:
void newPosition(QGeoPositionInfo pos);
void updateTimeout();
void uploadToServer();
+ void downloadFromServer();
void postError(QNetworkReply::NetworkError error);
void getUseridError(QNetworkReply::NetworkError error);
void clearGpsData();