From 8e39e60112ff2a86587436edbde31dc1030bb681 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 14 Feb 2010 02:33:14 +0000 Subject: Add human name to internal nodes (fix ticket #479). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2448 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/PortImpl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/engine/PortImpl.cpp') diff --git a/src/engine/PortImpl.cpp b/src/engine/PortImpl.cpp index 6ee4c0e1..c7371aec 100644 --- a/src/engine/PortImpl.cpp +++ b/src/engine/PortImpl.cpp @@ -76,8 +76,9 @@ PortImpl::PortImpl(BufferFactory& bufs, else _polyphonic = true; - add_property("http://www.w3.org/1999/02/22-rdf-syntax-ns#type", type.uri()); - set_property("http://lv2plug.in/ns/lv2core#index", Atom((int32_t)index)); + const LV2URIMap& uris = Shared::LV2URIMap::instance(); + add_property(uris.rdf_type, type.uri()); + set_property(uris.lv2_index, Atom((int32_t)index)); set_context(_context); if (type == PortType::EVENTS) -- cgit v1.2.1