]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - helpers/actions/stop_all_actions.py
Move actions to separate files
[perso/Immae/Projets/Python/MusicSampler.git] / helpers / actions / stop_all_actions.py
diff --git a/helpers/actions/stop_all_actions.py b/helpers/actions/stop_all_actions.py
new file mode 100644 (file)
index 0000000..f3fc5fb
--- /dev/null
@@ -0,0 +1,5 @@
+def run(action, **kwargs):
+    action.mapping.stop_all_running()
+
+def description(action, **kwargs):
+    return "stopping all actions"