aboutsummaryrefslogtreecommitdiffstats
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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/desktop-widgets/command_divesite.h b/desktop-widgets/command_divesite.h
index f05bc765d..7ebc69ccb 100644
--- a/desktop-widgets/command_divesite.h
+++ b/desktop-widgets/command_divesite.h
@@ -92,6 +92,18 @@ private:
QString value; // Value to be set
};
+class EditDiveSiteLocation : public Base {
+public:
+ EditDiveSiteLocation(dive_site *ds, const QString &location);
+private:
+ bool workToBeDone() override;
+ void undo() override;
+ void redo() override;
+
+ dive_site *ds;
+ location_t value; // Value to be set
+};
+
} // namespace Command
#endif // COMMAND_DIVESITE_H