From 91ca84684151a67b8e3e1e859b3167e9f687d4d4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 8 Oct 2007 17:59:56 +0000 Subject: s/MetadataMap/Variables/ etc. Removed ancient/unused Controller.hpp. git-svn-id: http://svn.drobilla.net/lad/ingen@852 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/ObjectSender.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/libs/engine/ObjectSender.cpp') diff --git a/src/libs/engine/ObjectSender.cpp b/src/libs/engine/ObjectSender.cpp index 87f35b2c..55dafaf4 100644 --- a/src/libs/engine/ObjectSender.cpp +++ b/src/libs/engine/ObjectSender.cpp @@ -60,10 +60,10 @@ ObjectSender::send_patch(ClientInterface* client, const PatchImpl* patch, bool r } - // Send metadata - const GraphObjectImpl::MetadataMap& data = patch->metadata(); - for (GraphObjectImpl::MetadataMap::const_iterator j = data.begin(); j != data.end(); ++j) - client->metadata_update(patch->path(), (*j).first, (*j).second); + // Send variable + const GraphObjectImpl::Variables& data = patch->variables(); + for (GraphObjectImpl::Variables::const_iterator j = data.begin(); j != data.end(); ++j) + client->variable_change(patch->path(), (*j).first, (*j).second); if (patch->enabled()) client->patch_enabled(patch->path()); @@ -92,10 +92,10 @@ ObjectSender::send_node(ClientInterface* client, const NodeImpl* node, bool recu client->new_node(node->plugin()->uri(), node->path(), node->polyphonic(), node->num_ports()); - // Send metadata - const GraphObjectImpl::MetadataMap& data = node->metadata(); - for (GraphObjectImpl::MetadataMap::const_iterator j = data.begin(); j != data.end(); ++j) - client->metadata_update(node->path(), (*j).first, (*j).second); + // Send variable + const GraphObjectImpl::Variables& data = node->variables(); + for (GraphObjectImpl::Variables::const_iterator j = data.begin(); j != data.end(); ++j) + client->variable_change(node->path(), (*j).first, (*j).second); client->bundle_end(); @@ -116,10 +116,10 @@ ObjectSender::send_port(ClientInterface* client, const PortImpl* port) client->new_port(port->path(), port->type().uri(), port->is_output()); - // Send metadata - const GraphObjectImpl::MetadataMap& data = port->metadata(); - for (GraphObjectImpl::MetadataMap::const_iterator j = data.begin(); j != data.end(); ++j) - client->metadata_update(port->path(), (*j).first, (*j).second); + // Send variable + const GraphObjectImpl::Variables& data = port->variables(); + for (GraphObjectImpl::Variables::const_iterator j = data.begin(); j != data.end(); ++j) + client->variable_change(port->path(), (*j).first, (*j).second); // Send control value if (port->type() == DataType::CONTROL) { -- cgit v1.2.1