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 54f9b22f9..c173494c0 100644
--- a/commands/command.cpp
+++ b/commands/command.cpp
@@ -354,4 +354,9 @@ void removeEvent(struct dive *d, int dcNr, struct event *ev)
execute(new RemoveEvent(d, dcNr, ev));
}
+void addGasSwitch(struct dive *d, int dcNr, int seconds, int tank)
+{
+ execute(new AddGasSwitch(d, dcNr, seconds, tank));
+}
+
} // namespace Command