From 69619ef5aa801b85707ca88dad993e1a744c8762 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 10 Jan 2016 17:39:13 -0800 Subject: GPS data: delete fixes on the server Signed-off-by: Dirk Hohndel --- subsurface-core/gpslocation.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'subsurface-core/gpslocation.h') 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 m_trackers; - void addFixToStorage(gpsTracker >); - void deleteFixFromStorage(gpsTracker >); + QList m_deletedTrackers; void loadFromStorage(); + void addFixToStorage(gpsTracker >); void replaceFixToStorage(gpsTracker >); + void deleteFixFromStorage(gpsTracker >); + void deleteFixesFromServer(); public slots: void serviceEnable(bool toggle); -- cgit v1.2.3-70-g09d2