From 959cf5cf99f3fa06f00f1c86040c7f3290216311 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 6 Apr 2012 20:42:19 +0000 Subject: Add missing definition of ui:portSubscribe feature. --- lv2/lv2plug.in/ns/extensions/ui/ui.h | 1 + lv2/lv2plug.in/ns/extensions/ui/ui.ttl | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'lv2/lv2plug.in/ns/extensions') diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.h b/lv2/lv2plug.in/ns/extensions/ui/ui.h index 56e9455..6dcb8e4 100644 --- a/lv2/lv2plug.in/ns/extensions/ui/ui.h +++ b/lv2/lv2plug.in/ns/extensions/ui/ui.h @@ -44,6 +44,7 @@ #define LV2_UI__portIndex LV2_UI_PREFIX "portIndex" #define LV2_UI__portMap LV2_UI_PREFIX "portMap" #define LV2_UI__portNotification LV2_UI_PREFIX "portNotification" +#define LV2_UI__portSubscribe LV2_UI_PREFIX "portSubscribe" #define LV2_UI__resize LV2_UI_PREFIX "resize" #define LV2_UI__touch LV2_UI_PREFIX "touch" diff --git a/lv2/lv2plug.in/ns/extensions/ui/ui.ttl b/lv2/lv2plug.in/ns/extensions/ui/ui.ttl index 6a62366..f9a7a64 100644 --- a/lv2/lv2plug.in/ns/extensions/ui/ui.ttl +++ b/lv2/lv2plug.in/ns/extensions/ui/ui.ttl @@ -294,6 +294,17 @@ they control. This feature corresponds to the LV2UI_Port_Index struct, which should be passed with the URI LV2_UI__portIndex.

""" . +ui:portSubscribe + a lv2:Feature ; + lv2:documentation """ +

A feature for dynamically subscribing to updates from a port. This makes it +possible for a UI to explicitly request a particular style of update from a +port at run-time, in a more flexible and powerful way than listing +subscriptions statically allows. This feature corresponds to the +LV2UI_Port_Subscribe struct, which should be passed with the URI +LV2_UI__portSubscribe.

+""" . + ui:touch a lv2:Feature ; lv2:documentation """ @@ -302,7 +313,7 @@ control. This is useful for automation, so the host can allow the user to take control of a port, even if that port would otherwise be automated (much like grabbing a physical morotised fader). It can also be used for MIDI learn or in any other situation where the host needs to do something with a particular -control and it would be convenient for the user to select it directroy from the +control and it would be convenient for the user to select it directly from the plugin UI. This feature corresponds to the LV2UI_Touch struct, which should be passed with the URI LV2_UI__touch.

""" . -- cgit v1.2.1