From 90a4acfe8847c76c8c218eb57e76e243a607a1fc Mon Sep 17 00:00:00 2001 From: Hanspeter Portner Date: Mon, 25 Jan 2016 20:05:49 +0100 Subject: Add ui:idleInterface to host UI features To comply with: http://lv2plug.in/ns/extensions/ui/#idleInterface To indicate support, the host should pass a feature to instantiate() with this URI, with NULL for data. --- src/jalv.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/jalv.c') diff --git a/src/jalv.c b/src/jalv.c index 6a300b2..acc9d73 100644 --- a/src/jalv.c +++ b/src/jalv.c @@ -756,6 +756,9 @@ jalv_ui_instantiate(Jalv* jalv, const char* native_ui_type, void* parent) const LV2_Feature data_feature = { LV2_DATA_ACCESS_URI, &ext_data }; + const LV2_Feature idle_feature = { + LV2_UI__idleInterface, NULL + }; const LV2_Feature* ui_features[] = { &uri_map_feature, &map_feature, &unmap_feature, &instance_feature, @@ -763,6 +766,7 @@ jalv_ui_instantiate(Jalv* jalv, const char* native_ui_type, void* parent) &log_feature, &parent_feature, &options_feature, + &idle_feature, NULL }; -- cgit v1.2.1