diff options
Diffstat (limited to 'src/include/uris.h')
-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)); } |