From fa8d43dab70a975be9af7aebaac8eba682c2048e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Dec 2012 00:06:21 +0000 Subject: Use more sensible URI scheme for Ingen paths. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4889 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/Get.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server/events') diff --git a/src/server/events/Get.cpp b/src/server/events/Get.cpp index 949e8c49..b65b47bf 100644 --- a/src/server/events/Get.cpp +++ b/src/server/events/Get.cpp @@ -55,10 +55,10 @@ Get::pre_process() { _lock.acquire(); - if (_uri == "ingen:plugins") { + if (_uri == "ingen:/plugins") { _plugins = _engine.block_factory()->plugins(); return Event::pre_process_done(SUCCESS); - } else if (_uri == "ingen:engine") { + } else if (_uri == "ingen:/engine") { return Event::pre_process_done(SUCCESS); } else if (Node::uri_is_path(_uri)) { _object = _engine.store()->get(Node::uri_to_path(_uri)); @@ -131,9 +131,9 @@ Get::post_process() { Broadcaster::Transfer t(*_engine.broadcaster()); if (!respond() && _request_client) { - if (_uri == "ingen:plugins") { + if (_uri == "ingen:/plugins") { _engine.broadcaster()->send_plugins_to(_request_client.get(), _plugins); - } else if (_uri == "ingen:engine") { + } else if (_uri == "ingen:/engine") { // TODO: Keep a proper RDF model of the engine URIs& uris = _engine.world()->uris(); _request_client->set_property( -- cgit v1.2.1