diff options
author | David Robillard <d@drobilla.net> | 2007-10-08 17:59:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-08 17:59:56 +0000 |
commit | 91ca84684151a67b8e3e1e859b3167e9f687d4d4 (patch) | |
tree | 1751b6e4949b47d1880b4c569b6192fef392bfaf /src/libs/engine/events | |
parent | 507d9ffa4771978b6964b4c4b261ee923ba7e324 (diff) | |
download | ingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.tar.gz ingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.tar.bz2 ingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.zip |
s/MetadataMap/Variables/ etc.
Removed ancient/unused Controller.hpp.
git-svn-id: http://svn.drobilla.net/lad/ingen@852 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events')
-rw-r--r-- | src/libs/engine/events/RequestMetadataEvent.cpp | 6 | ||||
-rw-r--r-- | src/libs/engine/events/RequestMetadataEvent.hpp | 2 | ||||
-rw-r--r-- | src/libs/engine/events/SetMetadataEvent.cpp | 4 | ||||
-rw-r--r-- | src/libs/engine/events/SetMetadataEvent.hpp | 2 |
4 files changed, 7 insertions, 7 deletions
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 */ |