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/events/RequestMetadataEvent.cpp | 6 +++--- src/libs/engine/events/RequestMetadataEvent.hpp | 2 +- src/libs/engine/events/SetMetadataEvent.cpp | 4 ++-- src/libs/engine/events/SetMetadataEvent.hpp | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/libs/engine/events') diff --git a/src/libs/engine/events/RequestMetadataEvent.cpp b/src/libs/engine/events/RequestMetadataEvent.cpp index 0567d94d..99f0e04e 100644 --- a/src/libs/engine/events/RequestMetadataEvent.cpp +++ b/src/libs/engine/events/RequestMetadataEvent.cpp @@ -48,7 +48,7 @@ RequestMetadataEvent::pre_process() } } - _value = _object->get_metadata(_key); + _value = _object->get_variable(_key); QueuedEvent::pre_process(); } @@ -59,12 +59,12 @@ RequestMetadataEvent::post_process() { if (_responder->client()) { if (!_object) { - string msg = "Unable to find metadata subject "; + string msg = "Unable to find variable subject "; msg += _path; _responder->respond_error(msg); } else { _responder->respond_ok(); - _responder->client()->metadata_update(_path, _key, _value); + _responder->client()->variable_change(_path, _key, _value); } } else { _responder->respond_error("Unknown client"); diff --git a/src/libs/engine/events/RequestMetadataEvent.hpp b/src/libs/engine/events/RequestMetadataEvent.hpp index bbc2c871..71f55399 100644 --- a/src/libs/engine/events/RequestMetadataEvent.hpp +++ b/src/libs/engine/events/RequestMetadataEvent.hpp @@ -31,7 +31,7 @@ namespace Shared { } using Shared::ClientInterface; -/** A request from a client for a piece of metadata. +/** A request from a client for a piece of variable. * * \ingroup engine */ diff --git a/src/libs/engine/events/SetMetadataEvent.cpp b/src/libs/engine/events/SetMetadataEvent.cpp index ee0a62dc..2829eb1e 100644 --- a/src/libs/engine/events/SetMetadataEvent.cpp +++ b/src/libs/engine/events/SetMetadataEvent.cpp @@ -47,7 +47,7 @@ SetMetadataEvent::pre_process() return; } - _object->set_metadata(_key, _value); + _object->set_variable(_key, _value); QueuedEvent::pre_process(); } @@ -70,7 +70,7 @@ SetMetadataEvent::post_process() _responder->respond_error(msg); } else { _responder->respond_ok(); - _engine.broadcaster()->send_metadata_update(_path, _key, _value); + _engine.broadcaster()->send_variable_change(_path, _key, _value); } } diff --git a/src/libs/engine/events/SetMetadataEvent.hpp b/src/libs/engine/events/SetMetadataEvent.hpp index e65763c4..1d6a913e 100644 --- a/src/libs/engine/events/SetMetadataEvent.hpp +++ b/src/libs/engine/events/SetMetadataEvent.hpp @@ -29,7 +29,7 @@ namespace Ingen { class GraphObjectImpl; -/** An event to set a piece of metadata for an GraphObjectImpl. +/** An event to set a piece of variable for an GraphObjectImpl. * * \ingroup engine */ -- cgit v1.2.1