summaryrefslogtreecommitdiffstats
path: root/subsurface-core/gpslocation.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-10 17:39:13 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-10 20:44:21 -0800
commit69619ef5aa801b85707ca88dad993e1a744c8762 (patch)
tree4894ea98c36723e4cc2967f0e351edce15df8804 /subsurface-core/gpslocation.h
parent88291f605cec174de3e64d112bb5a44a16154162 (diff)
downloadsubsurface-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.h6
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 &gt);
- void deleteFixFromStorage(gpsTracker &gt);
+ QList<gpsTracker> m_deletedTrackers;
void loadFromStorage();
+ void addFixToStorage(gpsTracker &gt);
void replaceFixToStorage(gpsTracker &gt);
+ void deleteFixFromStorage(gpsTracker &gt);
+ void deleteFixesFromServer();
public slots:
void serviceEnable(bool toggle);