aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-11 14:45:35 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-13 11:21:34 -0700
commit6f813b9f8e58a7b6529e3be728e0ae37e8401400 (patch)
tree4d29b2a44ebc58e7ccfd9d3225b0cd983fca8bda /commands
parent105b60389c1468870bb3d08a93ee93a829048f65 (diff)
downloadsubsurface-6f813b9f8e58a7b6529e3be728e0ae37e8401400.tar.gz
mobile: remove GpsLocation
Only used in context of acquiring GPS locations with the mobile app, which we no longer do. Keep the DiveAndLocation structure around as that's needed by the ApplyGpsFixes command. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'commands')
-rw-r--r--commands/command_divesite.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/command_divesite.h b/commands/command_divesite.h
index db0c5c73e..c81397410 100644
--- a/commands/command_divesite.h
+++ b/commands/command_divesite.h
@@ -5,10 +5,15 @@
#define COMMAND_DIVESITE_H
#include "command_base.h"
-#include "core/gpslocation.h"
#include <QVector>
+struct DiveAndLocation {
+ struct dive *d;
+ location_t location;
+ QString name;
+};
+
// We put everything in a namespace, so that we can shorten names without polluting the global namespace
namespace Command {