From 19928bb583e72802746b89e322f71ecc0fcb7427 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 04:05:32 +0000 Subject: The great ID refactoring of 2009. Path is now actually URI (scheme path: for now). Therefore ingen nodes and such live in the same namespace as ... well, everything. Including plugins. Thar be profit, laddies. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1992 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/RequestMetadataEvent.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/engine/events/RequestMetadataEvent.cpp') diff --git a/src/engine/events/RequestMetadataEvent.cpp b/src/engine/events/RequestMetadataEvent.cpp index 628b11c4..75ff2a65 100644 --- a/src/engine/events/RequestMetadataEvent.cpp +++ b/src/engine/events/RequestMetadataEvent.cpp @@ -15,7 +15,6 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include #include "interface/ClientInterface.hpp" #include "RequestMetadataEvent.hpp" #include "Responder.hpp" @@ -24,8 +23,6 @@ #include "EngineStore.hpp" #include "ClientBroadcaster.hpp" -using std::string; - namespace Ingen { @@ -33,8 +30,8 @@ RequestMetadataEvent::RequestMetadataEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, bool property, - const string& node_path, - const string& key) + const Path& node_path, + const URI& key) : QueuedEvent(engine, responder, timestamp) , _path(node_path) , _property(property) @@ -69,8 +66,7 @@ RequestMetadataEvent::post_process() { if (_responder->client()) { if (!_object) { - string msg = "Unable to find variable subject "; - msg += _path; + const string msg = "Unable to find variable subject " + _path.str(); _responder->respond_error(msg); } else { _responder->respond_ok(); -- cgit v1.2.1