summaryrefslogtreecommitdiffstats
path: root/src/Forge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Forge.cpp')
-rw-r--r--src/Forge.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Forge.cpp b/src/Forge.cpp
index 89c194f9..fff4295a 100644
--- a/src/Forge.cpp
+++ b/src/Forge.cpp
@@ -28,6 +28,13 @@ Forge::Forge(URIMap& map)
lv2_atom_forge_init(this, &map.urid_map_feature()->urid_map);
}
+Atom
+Forge::make_urid(const Raul::URI& u)
+{
+ const LV2_URID urid = _map.map_uri(u);
+ return Atom(sizeof(int32_t), URID, &urid);
+}
+
std::string
Forge::str(const Atom& atom, bool quoted)
{