diff options
author | David Robillard <d@drobilla.net> | 2012-05-11 03:56:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-11 03:56:54 +0000 |
commit | 3dd4b42f3054f819c865e9415c4b86ba78d43aec (patch) | |
tree | 656d152cdffdd9196013fe9f35d46f4cf73c6927 /src/client/ClientStore.cpp | |
parent | 7be6d5d05756a7dea20c494d56f364b4dc064c88 (diff) | |
download | ingen-3dd4b42f3054f819c865e9415c4b86ba78d43aec.tar.gz ingen-3dd4b42f3054f819c865e9415c4b86ba78d43aec.tar.bz2 ingen-3dd4b42f3054f819c865e9415c4b86ba78d43aec.zip |
"Connection" => "Edge"
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4345 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/ClientStore.cpp')
-rw-r--r-- | src/client/ClientStore.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 042cba57..a78653e5 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -457,7 +457,7 @@ ClientStore::attempt_connection(const Raul::Path& tail_path, tail->connected_to(head); head->connected_to(tail); - patch->add_connection(cm); + patch->add_edge(cm); return true; } @@ -495,7 +495,7 @@ ClientStore::disconnect(const Raul::Path& src, SharedPtr<PatchModel> patch = connection_patch(src_path, dst_path); if (patch) - patch->remove_connection(tail.get(), head.get()); + patch->remove_edge(tail.get(), head.get()); } void @@ -511,9 +511,9 @@ ClientStore::disconnect_all(const Raul::Path& parent_patch, return; } - const PatchModel::Connections connections = patch->connections(); - for (PatchModel::Connections::const_iterator i = connections.begin(); - i != connections.end(); ++i) { + const PatchModel::Edges edges = patch->edges(); + for (PatchModel::Edges::const_iterator i = edges.begin(); + i != edges.end(); ++i) { SharedPtr<EdgeModel> c = PtrCast<EdgeModel>(i->second); if (c->tail()->parent() == object || c->head()->parent() == object @@ -521,7 +521,7 @@ ClientStore::disconnect_all(const Raul::Path& parent_patch, || c->head()->path() == path) { c->tail()->disconnected_from(c->head()); c->head()->disconnected_from(c->tail()); - patch->remove_connection(c->tail().get(), c->head().get()); + patch->remove_edge(c->tail().get(), c->head().get()); } } } |