diff options
author | David Robillard <d@drobilla.net> | 2012-04-11 04:10:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-11 04:10:52 +0000 |
commit | e8532ba49f54d511c00fbd605645e3e1431fe138 (patch) | |
tree | ac58d836b694401a955e6c4171109e63bbd0755b /lv2/lv2plug.in/ns/extensions | |
parent | 219086c57b4315828b262224f8e827af44ab4afd (diff) | |
download | lv2-e8532ba49f54d511c00fbd605645e3e1431fe138.tar.xz |
Make subscribe and unsubscribe extension parameters features again (better safe than sorry).
Diffstat (limited to 'lv2/lv2plug.in/ns/extensions')
-rw-r--r-- | lv2/lv2plug.in/ns/extensions/ui/ui.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.h b/lv2/lv2plug.in/ns/extensions/ui/ui.h index 6dcb8e4..a0ec2d3 100644 --- a/lv2/lv2plug.in/ns/extensions/ui/ui.h +++ b/lv2/lv2plug.in/ns/extensions/ui/ui.h @@ -301,12 +301,13 @@ typedef struct _LV2UI_Port_Subscribe { @param handle The handle field of this struct. @param port_index The index of the port. @param port_protocol The URID of the ui:PortProtocol. - @param data Extra data as defined by the port protocol, or NULL. + @param features Features for this subscription. + @return 0 on success. */ - void (*subscribe)(LV2UI_Feature_Handle handle, - uint32_t port_index, - uint32_t port_protocol, - const void* options); + uint32_t (*subscribe)(LV2UI_Feature_Handle handle, + uint32_t port_index, + uint32_t port_protocol, + const LV2_Feature* const* features); /** Unsubscribe from updates for a port. @@ -320,12 +321,13 @@ typedef struct _LV2UI_Port_Subscribe { @param handle The handle field of this struct. @param port_index The index of the port. @param port_protocol The URID of the ui:PortProtocol. - @param data Extra data as defined by the port protocol, or NULL. + @param features Features for this subscription. + @return 0 on success. */ - void (*unsubscribe)(LV2UI_Feature_Handle handle, - uint32_t port_index, - uint32_t port_protocol, - const void* options); + uint32_t (*unsubscribe)(LV2UI_Feature_Handle handle, + uint32_t port_index, + uint32_t port_protocol, + const LV2_Feature* const* features); } LV2UI_Port_Subscribe; /** |