summaryrefslogtreecommitdiffstats
path: root/commands/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command.cpp')
-rw-r--r--commands/command.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands/command.cpp b/commands/command.cpp
index e9b4e0738..4f92038b9 100644
--- a/commands/command.cpp
+++ b/commands/command.cpp
@@ -334,4 +334,9 @@ void addEventBookmark(struct dive *d, int dcNr, int seconds)
execute(new AddEventBookmark(d, dcNr, seconds));
}
+void addEventDivemodeSwitch(struct dive *d, int dcNr, int seconds, int divemode)
+{
+ execute(new AddEventDivemodeSwitch(d, dcNr, seconds, divemode));
+}
+
} // namespace Command