diff options
Diffstat (limited to 'commands/command_divelist.h')
-rw-r--r-- | commands/command_divelist.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/commands/command_divelist.h b/commands/command_divelist.h index cf204bedc..893badb39 100644 --- a/commands/command_divelist.h +++ b/commands/command_divelist.h @@ -6,6 +6,7 @@ #include "command_base.h" #include "core/filterpreset.h" +#include "core/device.h" #include <QVector> @@ -99,7 +100,8 @@ class ImportDives : public DiveListBase { public: // Note: dives and trips are consumed - after the call they will be empty. ImportDives(struct dive_table *dives, struct trip_table *trips, struct dive_site_table *sites, - struct filter_preset_table *filter_presets, int flags, const QString &source); + struct device_table *devices, struct filter_preset_table *filter_presets, int flags, + const QString &source); private: void undoit() override; void redoit() override; @@ -108,6 +110,7 @@ private: // For redo and undo DivesAndTripsToAdd divesToAdd; DivesAndSitesToRemove divesAndSitesToRemove; + struct device_table devicesToAddAndRemove; // For redo std::vector<OwningDiveSitePtr> sitesToAdd; |