diff options
author | David Robillard <d@drobilla.net> | 2011-04-20 15:27:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-20 15:27:34 +0000 |
commit | 1f1758f4dda0ddaf01c0b1d3a756f9db8ddc979d (patch) | |
tree | bf97929a31ac38acc158aef045921ad1954acc9d /src/shared | |
parent | be78a679a950f1d1b07f8f16c358c33ac1ccda66 (diff) | |
download | ingen-1f1758f4dda0ddaf01c0b1d3a756f9db8ddc979d.tar.gz ingen-1f1758f4dda0ddaf01c0b1d3a756f9db8ddc979d.tar.bz2 ingen-1f1758f4dda0ddaf01c0b1d3a756f9db8ddc979d.zip |
Make disconnect take URI parameters (for wildcare URI towards killing disconnect_all).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3183 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/ClashAvoider.cpp | 6 | ||||
-rw-r--r-- | src/shared/ClashAvoider.hpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp index 0e44ef85..f2232554 100644 --- a/src/shared/ClashAvoider.cpp +++ b/src/shared/ClashAvoider.cpp @@ -172,10 +172,10 @@ ClashAvoider::connect(const Raul::Path& src_port_path, } void -ClashAvoider::disconnect(const Raul::Path& src_port_path, - const Raul::Path& dst_port_path) +ClashAvoider::disconnect(const Raul::URI& src, + const Raul::URI& dst) { - _target.disconnect(map_path(src_port_path), map_path(dst_port_path)); + _target.disconnect(map_uri(src), map_uri(dst)); } diff --git a/src/shared/ClashAvoider.hpp b/src/shared/ClashAvoider.hpp index 4322957c..e6f2704a 100644 --- a/src/shared/ClashAvoider.hpp +++ b/src/shared/ClashAvoider.hpp @@ -61,8 +61,8 @@ public: virtual void connect(const Raul::Path& src_port_path, const Raul::Path& dst_port_path); - virtual void disconnect(const Raul::Path& src_port_path, - const Raul::Path& dst_port_path); + virtual void disconnect(const Raul::URI& src, + const Raul::URI& dst); virtual void disconnect_all(const Raul::Path& parent_patch_path, const Raul::Path& path); |