diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-11-16 15:04:36 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-09 12:41:57 -0700 |
commit | 8f043138ba34946b477e615a6506067b8cb93c77 (patch) | |
tree | 833a6e9fce1abb8430232d00b2120d2b1fb934e2 /core/gpslocation.h | |
parent | ca911e6916a5598c7558cabc2f695fceee3d5143 (diff) | |
download | subsurface-8f043138ba34946b477e615a6506067b8cb93c77.tar.gz |
GPS fixes: collect fixes first, apply later
Make the application of the GPS fixes in two runs: first
collect dives and fixes, then apply the fixes. This will
simplify turning the application of GPS fixes into an
undo-command.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/gpslocation.h')
-rw-r--r-- | core/gpslocation.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/gpslocation.h b/core/gpslocation.h index 0a333947b..88fdb813c 100644 --- a/core/gpslocation.h +++ b/core/gpslocation.h @@ -20,6 +20,12 @@ struct gpsTracker { int idx; }; +struct DiveAndLocation { + struct dive *d; + location_t location; + QString name; +}; + class GpsLocation : public QObject { Q_OBJECT public: |