summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/command_divesite.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/command_divesite.h')
-rw-r--r--desktop-widgets/command_divesite.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop-widgets/command_divesite.h b/desktop-widgets/command_divesite.h
index bf6fb3dc4..b73cc1b5a 100644
--- a/desktop-widgets/command_divesite.h
+++ b/desktop-widgets/command_divesite.h
@@ -104,6 +104,19 @@ private:
location_t value; // Value to be set
};
+class EditDiveSiteTaxonomy : public Base {
+public:
+ EditDiveSiteTaxonomy(dive_site *ds, taxonomy_data &taxonomy);
+ ~EditDiveSiteTaxonomy(); // free taxonomy
+private:
+ bool workToBeDone() override;
+ void undo() override;
+ void redo() override;
+
+ dive_site *ds;
+ taxonomy_data value; // Value to be set
+};
+
} // namespace Command
#endif // COMMAND_DIVESITE_H