diff options
author | David Robillard <d@drobilla.net> | 2010-02-14 02:33:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-14 02:33:14 +0000 |
commit | 8e39e60112ff2a86587436edbde31dc1030bb681 (patch) | |
tree | a0b3e44fca9748928dba8357ee043459addf425e /src/engine/PortImpl.cpp | |
parent | fa2a13801862a379d367afa29497dbe24662ecba (diff) | |
download | ingen-8e39e60112ff2a86587436edbde31dc1030bb681.tar.gz ingen-8e39e60112ff2a86587436edbde31dc1030bb681.tar.bz2 ingen-8e39e60112ff2a86587436edbde31dc1030bb681.zip |
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
Diffstat (limited to 'src/engine/PortImpl.cpp')
-rw-r--r-- | src/engine/PortImpl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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) |