summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-25 20:40:13 +0000
committerDavid Robillard <d@drobilla.net>2010-02-25 20:40:13 +0000
commit77a9beca75debd2d87d735fc4fe847694eee6f13 (patch)
treeae03699b999e84bc4c283abfd215c8037ecddaf6 /src/shared
parente22984efe9b82ab006494aea93814a592cd44ece (diff)
downloadingen-77a9beca75debd2d87d735fc4fe847694eee6f13.tar.gz
ingen-77a9beca75debd2d87d735fc4fe847694eee6f13.tar.bz2
ingen-77a9beca75debd2d87d735fc4fe847694eee6f13.zip
Work on contexts and polymorphic ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2492 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/LV2Object.hpp4
-rw-r--r--src/shared/LV2URIMap.cpp1
-rw-r--r--src/shared/LV2URIMap.hpp1
3 files changed, 4 insertions, 2 deletions
diff --git a/src/shared/LV2Object.hpp b/src/shared/LV2Object.hpp
index b0136d06..794422a0 100644
--- a/src/shared/LV2Object.hpp
+++ b/src/shared/LV2Object.hpp
@@ -28,8 +28,8 @@ class World;
namespace LV2Object {
- bool to_atom(World* world, const LV2_Object* object, Raul::Atom& atom);
- bool from_atom(World* word, const Raul::Atom& atom, LV2_Object* object);
+ bool to_atom(const LV2_Object* object, Raul::Atom& atom);
+ bool from_atom(const Raul::Atom& atom, LV2_Object* object);
} // namespace LV2Object
diff --git a/src/shared/LV2URIMap.cpp b/src/shared/LV2URIMap.cpp
index f83f7aa5..d8114014 100644
--- a/src/shared/LV2URIMap.cpp
+++ b/src/shared/LV2URIMap.cpp
@@ -93,6 +93,7 @@ LV2URIMap::LV2URIMap()
, midi_noteNumber(NS_MIDI "noteNumber")
, obj_MessagePort("http://lv2plug.in/ns/dev/objects#MessagePort")
, obj_ValuePort("http://lv2plug.in/ns/dev/objects#ValuePort")
+ , obj_supports("http://lv2plug.in/ns/dev/objects#supports")
, object_class_bool(LV2_OBJECT_URI "#Bool")
, object_class_float32(LV2_OBJECT_URI "#Float32")
, object_class_int32(LV2_OBJECT_URI "#Int32")
diff --git a/src/shared/LV2URIMap.hpp b/src/shared/LV2URIMap.hpp
index 6b298e79..2c5bdef2 100644
--- a/src/shared/LV2URIMap.hpp
+++ b/src/shared/LV2URIMap.hpp
@@ -101,6 +101,7 @@ public:
const Quark midi_noteNumber;
const Quark obj_MessagePort;
const Quark obj_ValuePort;
+ const Quark obj_supports;
const Quark object_class_bool;
const Quark object_class_float32;
const Quark object_class_int32;