summaryrefslogtreecommitdiffstats
path: root/src/shared/ClashAvoider.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-28 02:25:35 +0000
committerDavid Robillard <d@drobilla.net>2012-04-28 02:25:35 +0000
commit927b169eb1787bc40ede591c7c7893a39b488d95 (patch)
tree70337e073d9ddd301e118bbda6b43481e88de4ed /src/shared/ClashAvoider.cpp
parenteed06c66b6f54687cc148d45d00352a85ad2d3d3 (diff)
downloadingen-927b169eb1787bc40ede591c7c7893a39b488d95.tar.gz
ingen-927b169eb1787bc40ede591c7c7893a39b488d95.tar.bz2
ingen-927b169eb1787bc40ede591c7c7893a39b488d95.zip
Use "tail" and "head" terminology instead of "src_port" and "dst_port".
Use the same types for connect() and disconnect() parameters. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4292 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/ClashAvoider.cpp')
-rw-r--r--src/shared/ClashAvoider.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp
index 7f0bceae..3859ef76 100644
--- a/src/shared/ClashAvoider.cpp
+++ b/src/shared/ClashAvoider.cpp
@@ -166,24 +166,24 @@ ClashAvoider::move(const Raul::Path& old_path,
}
void
-ClashAvoider::connect(const Raul::Path& src_port_path,
- const Raul::Path& dst_port_path)
+ClashAvoider::connect(const Raul::Path& tail,
+ const Raul::Path& head)
{
- _target.connect(map_path(src_port_path), map_path(dst_port_path));
+ _target.connect(map_path(tail), map_path(head));
}
void
-ClashAvoider::disconnect(const Raul::URI& src,
- const Raul::URI& dst)
+ClashAvoider::disconnect(const Raul::Path& tail,
+ const Raul::Path& head)
{
- _target.disconnect(map_uri(src), map_uri(dst));
+ _target.disconnect(map_path(tail), map_path(head));
}
void
-ClashAvoider::disconnect_all(const Raul::Path& parent_patch_path,
+ClashAvoider::disconnect_all(const Raul::Path& parent_patch,
const Raul::Path& path)
{
- _target.disconnect_all(map_path(parent_patch_path), map_path(path));
+ _target.disconnect_all(map_path(parent_patch), map_path(path));
}
void