summaryrefslogtreecommitdiffstats
path: root/subsurface-core/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-07 00:08:00 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-07 21:29:05 -0800
commita7f8a7574e1fa6fd2422d151a3d5e3fc94586d5b (patch)
tree034256176d0a28705e190d122d41a2aead2fc229 /subsurface-core/gpslocation.h
parent0f311020205563823c71cfb68a77d156b14d352a (diff)
downloadsubsurface-a7f8a7574e1fa6fd2422d151a3d5e3fc94586d5b.tar.gz
Create GpsListModel in order to be able to display GPS fixes
This will allow us to visualize the GPS fixes that are currently stored in the QML UI. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/gpslocation.h')
-rw-r--r--subsurface-core/gpslocation.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/subsurface-core/gpslocation.h b/subsurface-core/gpslocation.h
index 94706f611..d595c877e 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