diff options
Diffstat (limited to 'desktop-widgets/command_divesite.h')
-rw-r--r-- | desktop-widgets/command_divesite.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop-widgets/command_divesite.h b/desktop-widgets/command_divesite.h index 58b3aabf5..9661bbffd 100644 --- a/desktop-widgets/command_divesite.h +++ b/desktop-widgets/command_divesite.h @@ -43,6 +43,21 @@ private: std::vector<OwningDiveSitePtr> sitesToAdd; }; +class PurgeUnusedDiveSites : public Base { +public: + PurgeUnusedDiveSites(); +private: + bool workToBeDone() override; + void undo() override; + void redo() override; + + // For redo + std::vector<dive_site *> sitesToRemove; + + // For undo + std::vector<OwningDiveSitePtr> sitesToAdd; +}; + class EditDiveSiteName : public Base { public: EditDiveSiteName(dive_site *ds, const QString &name); |