diff options
Diffstat (limited to 'commands/command.h')
-rw-r--r-- | commands/command.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/commands/command.h b/commands/command.h index 6072ca9c3..3cdec6d4e 100644 --- a/commands/command.h +++ b/commands/command.h @@ -9,6 +9,7 @@ #include <vector> struct DiveAndLocation; +struct FilterData; // We put everything in a namespace, so that we can shorten names without polluting the global namespace namespace Command { @@ -133,6 +134,12 @@ void setPictureOffset(dive *d, const QString &filename, offset_t offset); void removePictures(const std::vector<PictureListForDeletion> &pictures); void addPictures(const std::vector<PictureListForAddition> &pictures); +// 8) Filter commands + +void createFilterPreset(const QString &name, const FilterData &data); +void removeFilterPreset(int index); +void editFilterPreset(int index, const FilterData &data); + } // namespace Command #endif // COMMAND_H |