summaryrefslogtreecommitdiffstats
path: root/src/Forge.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-02-23 19:55:13 +0000
committerDavid Robillard <d@drobilla.net>2013-02-23 19:55:13 +0000
commit6b6cb56b2ceab509569bfca247f108f2be5e25c0 (patch)
tree5a46eee0c3f518fa7bb20e6a8784e5bd3ba04598 /src/Forge.cpp
parent5a6aafff8dda9dddce479a2ad86edb933c9688c3 (diff)
downloadingen-6b6cb56b2ceab509569bfca247f108f2be5e25c0.tar.gz
ingen-6b6cb56b2ceab509569bfca247f108f2be5e25c0.tar.bz2
ingen-6b6cb56b2ceab509569bfca247f108f2be5e25c0.zip
Move Atom implementation out of Raul so it can depend on LV2.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5076 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Forge.cpp')
-rw-r--r--src/Forge.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/Forge.cpp b/src/Forge.cpp
index 14d727d2..7380bd8d 100644
--- a/src/Forge.cpp
+++ b/src/Forge.cpp
@@ -25,16 +25,11 @@ namespace Ingen {
Forge::Forge(URIMap& map)
: _map(map)
{
- Int = map.map_uri(LV2_ATOM__Int);
- Float = map.map_uri(LV2_ATOM__Float);
- Bool = map.map_uri(LV2_ATOM__Bool);
- URI = map.map_uri(LV2_ATOM__URI);
- URID = map.map_uri(LV2_ATOM__URID);
- String = map.map_uri(LV2_ATOM__String);
+ lv2_atom_forge_init(this, &map.urid_map_feature()->urid_map);
}
std::string
-Forge::str(const Raul::Atom& atom)
+Forge::str(const Atom& atom)
{
std::ostringstream ss;
if (atom.type() == Int) {