diff options
author | David Robillard <d@drobilla.net> | 2013-01-08 04:05:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-08 04:05:01 +0000 |
commit | ac408e8d4ce77389e65d69e9a1ff30fd54a25ada (patch) | |
tree | 27d3f568c8a8040c345dd61a890dabd08549cd5c /src/Forge.cpp | |
parent | 63d21b23d262b0c5169d54822aa5723b6200c764 (diff) | |
download | ingen-ac408e8d4ce77389e65d69e9a1ff30fd54a25ada.tar.gz ingen-ac408e8d4ce77389e65d69e9a1ff30fd54a25ada.tar.bz2 ingen-ac408e8d4ce77389e65d69e9a1ff30fd54a25ada.zip |
Add support for URID ports.
Fix glib errors when resetting properties dialog.
Move RDFS domain/range/classes/etc code to reusable location.
Add preliminary "mesp" (message processing) plugin package.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4903 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Forge.cpp')
-rw-r--r-- | src/Forge.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Forge.cpp b/src/Forge.cpp index 077bec73..d74f42ee 100644 --- a/src/Forge.cpp +++ b/src/Forge.cpp @@ -23,6 +23,7 @@ namespace Ingen { Forge::Forge(URIMap& map) + : _map(map) { Int = map.map_uri(LV2_ATOM__Int); Float = map.map_uri(LV2_ATOM__Float); @@ -44,6 +45,8 @@ Forge::str(const Raul::Atom& atom) ss << (atom.get_bool() ? "true" : "false"); } else if (atom.type() == URI) { ss << "<" << atom.get_uri() << ">"; + } else if (atom.type() == URID) { + ss << "<" << _map.unmap_uri(atom.get_int32()) << ">"; } else if (atom.type() == String) { ss << "\"" << atom.get_string() << "\""; } |