From d38365283adef399f2fc366f491a03b5fc3cf560 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Sep 2012 16:59:35 +0000 Subject: Support latest options and morph extensions. git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/blop.lv2@4776 a436a847-0d15-0410-975c-d299462d15a1 --- src/include/uris.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/include/uris.h') diff --git a/src/include/uris.h b/src/include/uris.h index 538bd05..9797e0e 100644 --- a/src/include/uris.h +++ b/src/include/uris.h @@ -20,12 +20,16 @@ #define blop_uris_h #include +#include "lv2/lv2plug.in/ns/ext/atom/atom.h" +#include "lv2/lv2plug.in/ns/ext/morph/morph.h" #include "lv2/lv2plug.in/ns/ext/urid/urid.h" #include "lv2/lv2plug.in/ns/lv2core/lv2.h" typedef struct { + LV2_URID atom_URID; LV2_URID lv2_CVPort; LV2_URID lv2_ControlPort; + LV2_URID morph_currentType; } URIs; static inline void @@ -41,8 +45,10 @@ map_uris(URIs* uris, } if (map) { - uris->lv2_ControlPort = map->map(map->handle, LV2_CORE__ControlPort); - uris->lv2_CVPort = map->map(map->handle, LV2_CORE__CVPort); + uris->atom_URID = map->map(map->handle, LV2_ATOM__URID); + uris->lv2_ControlPort = map->map(map->handle, LV2_CORE__ControlPort); + uris->lv2_CVPort = map->map(map->handle, LV2_CORE__CVPort); + uris->morph_currentType = map->map(map->handle, LV2_MORPH__currentType); } else { memset(uris, 0, sizeof(*uris)); } -- cgit v1.2.1