diff options
author | 2016-01-07 21:43:22 -0800 | |
---|---|---|
committer | 2016-01-07 21:43:22 -0800 | |
commit | 1eda61e1158de19a47acdfc5525f5f0df002052f (patch) | |
tree | fd981938b70fe20c20b3ea2ffc90abd9db74de9a /subsurface-core/gpslocation.h | |
parent | ce3a78efcac2c9b6bd215bc191560a64c54fd628 (diff) | |
parent | b6ae6979e530fa32dbdb472a2e9698cb719945a8 (diff) | |
download | subsurface-1eda61e1158de19a47acdfc5525f5f0df002052f.tar.gz |
Merge branch 'gpsList'
Diffstat (limited to 'subsurface-core/gpslocation.h')
-rw-r--r-- | subsurface-core/gpslocation.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/subsurface-core/gpslocation.h b/subsurface-core/gpslocation.h index 94706f611..3dbe48320 100644 --- a/subsurface-core/gpslocation.h +++ b/subsurface-core/gpslocation.h @@ -9,6 +9,13 @@ #include <QSettings> #include <QNetworkReply> +struct gpsTracker { + degrees_t latitude; + degrees_t longitude; + time_t when; + QString name; +}; + class GpsLocation : QObject { Q_OBJECT @@ -39,8 +46,10 @@ public slots: void newPosition(QGeoPositionInfo pos); void updateTimeout(); void uploadToServer(); + void downloadFromServer(); void postError(QNetworkReply::NetworkError error); void getUseridError(QNetworkReply::NetworkError error); + void updateModel(); void clearGpsData(); }; |