diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-10 17:39:13 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-10 20:44:21 -0800 |
commit | 69619ef5aa801b85707ca88dad993e1a744c8762 (patch) | |
tree | 4894ea98c36723e4cc2967f0e351edce15df8804 /subsurface-core/gpslocation.h | |
parent | 88291f605cec174de3e64d112bb5a44a16154162 (diff) | |
download | subsurface-69619ef5aa801b85707ca88dad993e1a744c8762.tar.gz |
GPS data: delete fixes on the server
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/gpslocation.h')
-rw-r--r-- | subsurface-core/gpslocation.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/subsurface-core/gpslocation.h b/subsurface-core/gpslocation.h index 9e5a25af7..20ed26ed9 100644 --- a/subsurface-core/gpslocation.h +++ b/subsurface-core/gpslocation.h @@ -45,10 +45,12 @@ private: static GpsLocation *m_Instance; bool waitingForPosition; QMap<qint64, gpsTracker> m_trackers; - void addFixToStorage(gpsTracker >); - void deleteFixFromStorage(gpsTracker >); + QList<gpsTracker> m_deletedTrackers; void loadFromStorage(); + void addFixToStorage(gpsTracker >); void replaceFixToStorage(gpsTracker >); + void deleteFixFromStorage(gpsTracker >); + void deleteFixesFromServer(); public slots: void serviceEnable(bool toggle); |