summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ClashAvoider.cpp8
-rw-r--r--src/shared/ClashAvoider.hpp3
2 files changed, 11 insertions, 0 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp
index 10a26934..0e44ef85 100644
--- a/src/shared/ClashAvoider.cpp
+++ b/src/shared/ClashAvoider.cpp
@@ -178,6 +178,14 @@ ClashAvoider::disconnect(const Raul::Path& src_port_path,
_target.disconnect(map_path(src_port_path), map_path(dst_port_path));
}
+
+void
+ClashAvoider::disconnect_all(const Raul::Path& parent_patch_path,
+ const Raul::Path& path)
+{
+ _target.disconnect_all(map_path(parent_patch_path), map_path(path));
+}
+
void
ClashAvoider::set_property(const Raul::URI& subject,
const Raul::URI& predicate,
diff --git a/src/shared/ClashAvoider.hpp b/src/shared/ClashAvoider.hpp
index 3cd5c8ba..4322957c 100644
--- a/src/shared/ClashAvoider.hpp
+++ b/src/shared/ClashAvoider.hpp
@@ -64,6 +64,9 @@ public:
virtual void disconnect(const Raul::Path& src_port_path,
const Raul::Path& dst_port_path);
+ virtual void disconnect_all(const Raul::Path& parent_patch_path,
+ const Raul::Path& path);
+
virtual void set_property(const Raul::URI& subject_path,
const Raul::URI& predicate,
const Raul::Atom& value);