diff options
Diffstat (limited to 'commands/command.cpp')
-rw-r--r-- | commands/command.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/commands/command.cpp b/commands/command.cpp index 33c866e72..8195fbd22 100644 --- a/commands/command.cpp +++ b/commands/command.cpp @@ -6,6 +6,7 @@ #include "command_edit.h" #include "command_edit_trip.h" #include "command_event.h" +#include "command_pictures.h" namespace Command { @@ -359,4 +360,11 @@ void addGasSwitch(struct dive *d, int dcNr, int seconds, int tank) execute(new AddGasSwitch(d, dcNr, seconds, tank)); } +// Picture (media) commands + +void setPictureOffset(dive *d, const QString &filename, offset_t offset) +{ + execute(new SetPictureOffset(d, filename, offset)); +} + } // namespace Command |