summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-08-28 03:07:12 +0000
committerDavid Robillard <d@drobilla.net>2015-08-28 03:07:12 +0000
commit3b22d3c8c57867cad7304dac1e9be5ee36ae9715 (patch)
tree3de4bd2f383346164ecbee3a55d17a28d32623df /ingen
parente6f29e606ba73af640469e3ee1e2198893ce3e5c (diff)
downloadingen-3b22d3c8c57867cad7304dac1e9be5ee36ae9715.tar.gz
ingen-3b22d3c8c57867cad7304dac1e9be5ee36ae9715.tar.bz2
ingen-3b22d3c8c57867cad7304dac1e9be5ee36ae9715.zip
Get rid of LV2Info class.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5708 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen')
-rw-r--r--ingen/URIs.hpp29
1 files changed, 23 insertions, 6 deletions
diff --git a/ingen/URIs.hpp b/ingen/URIs.hpp
index d38b840e..7ef4385b 100644
--- a/ingen/URIs.hpp
+++ b/ingen/URIs.hpp
@@ -20,6 +20,7 @@
#include "ingen/Atom.hpp"
#include "ingen/Forge.hpp"
#include "ingen/ingen.h"
+#include "lilv/lilv.h"
#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
#include "raul/Noncopyable.hpp"
#include "raul/URI.hpp"
@@ -42,13 +43,21 @@ class URIMap;
*/
class INGEN_API URIs : public Raul::Noncopyable {
public:
- URIs(Ingen::Forge& forge, URIMap* map);
+ URIs(Ingen::Forge& forge, URIMap* map, LilvWorld* lworld);
struct Quark : public Raul::URI {
- Quark(Ingen::Forge& forge, URIMap* map, const char* str);
+ Quark(Ingen::Forge& forge,
+ URIMap* map,
+ LilvWorld* lworld,
+ const char* str);
- operator LV2_URID() const { return urid.get<LV2_URID>(); }
- explicit operator Atom() const { return urid; }
+ Quark(const Quark& copy);
+
+ ~Quark();
+
+ operator LV2_URID() const { return urid.get<LV2_URID>(); }
+ explicit operator Atom() const { return urid; }
+ operator const LilvNode*() const { return lnode; }
inline bool operator==(const Atom& rhs) const {
if (rhs.type() == urid.type()) {
@@ -63,8 +72,9 @@ public:
return !operator==(rhs);
}
- Atom urid;
- Atom uri;
+ Atom urid;
+ Atom uri;
+ LilvNode* lnode;
};
Ingen::Forge& forge;
@@ -129,7 +139,9 @@ public:
const Quark lv2_index;
const Quark lv2_integer;
const Quark lv2_maximum;
+ const Quark lv2_microVersion;
const Quark lv2_minimum;
+ const Quark lv2_minorVersion;
const Quark lv2_name;
const Quark lv2_port;
const Quark lv2_portProperty;
@@ -146,7 +158,11 @@ public:
const Quark midi_binding;
const Quark midi_controllerNumber;
const Quark midi_noteNumber;
+ const Quark morph_AutoMorphPort;
+ const Quark morph_MorphPort;
const Quark morph_currentType;
+ const Quark morph_supportsType;
+ const Quark opt_interface;
const Quark param_sampleRate;
const Quark patch_Copy;
const Quark patch_Delete;
@@ -183,6 +199,7 @@ public:
const Quark time_beatsPerMinute;
const Quark time_frame;
const Quark time_speed;
+ const Quark work_schedule;
};
inline bool operator==(const Atom& a, const URIs::Quark& b) {