diff options
author | David Robillard <d@drobilla.net> | 2012-09-16 16:59:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-09-16 16:59:35 +0000 |
commit | d38365283adef399f2fc366f491a03b5fc3cf560 (patch) | |
tree | df4c65825b6e4839fd48a08d09098bb88d0e90da /src/include | |
parent | 3ae8043771d8b4a11492b74bc4c0a79a7487d0a5 (diff) | |
download | blop.lv2-d38365283adef399f2fc366f491a03b5fc3cf560.tar.gz blop.lv2-d38365283adef399f2fc366f491a03b5fc3cf560.tar.bz2 blop.lv2-d38365283adef399f2fc366f491a03b5fc3cf560.zip |
Support latest options and morph extensions.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/blop.lv2@4776 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/uris.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 <string.h> +#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)); } |