aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-11 04:10:52 +0000
committerDavid Robillard <d@drobilla.net>2012-04-11 04:10:52 +0000
commite8532ba49f54d511c00fbd605645e3e1431fe138 (patch)
treeac58d836b694401a955e6c4171109e63bbd0755b /lv2/lv2plug.in/ns
parent219086c57b4315828b262224f8e827af44ab4afd (diff)
downloadlv2-e8532ba49f54d511c00fbd605645e3e1431fe138.tar.xz
Make subscribe and unsubscribe extension parameters features again (better safe than sorry).
Diffstat (limited to 'lv2/lv2plug.in/ns')
-rw-r--r--lv2/lv2plug.in/ns/extensions/ui/ui.h22
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;
/**