ardour
Public Attributes | List of all members
lv2_external_ui_host Struct Reference

#include <lv2_external_ui.h>

Public Attributes

void(* ui_closed )(void *controller)
 
const char * plugin_human_id
 

Detailed Description

On UI instantiation, host must supply LV2_EXTERNAL_UI_URI feature. LV2_Feature::data must be pointer to struct lv2_external_ui_host.

Definition at line 86 of file lv2_external_ui.h.

Member Data Documentation

const char* lv2_external_ui_host::plugin_human_id

Optional (may be NULL) "user friendly" identifier which the UI may display to allow a user to easily associate this particular UI instance with the correct plugin instance as it is represented by the host (e.g. "track 1" or "channel 4").

If supplied by host, the string will be referenced only during LV2UI_Descriptor::instantiate()

Definition at line 112 of file lv2_external_ui.h.

void(* lv2_external_ui_host::ui_closed)(void *controller)

Callback that plugin UI will call when UI (GUI window) is closed by user. This callback wil; be called during execution of lv2_external_ui::run() (i.e. not from background thread).

After this callback is called, UI is defunct. Host must call LV2UI_Descriptor::cleanup(). If host wants to make the UI visible again UI must be reinstantiated.

Parameters
controllerHost context associated with plugin UI, as supplied to LV2UI_Descriptor::instantiate()

Definition at line 101 of file lv2_external_ui.h.


The documentation for this struct was generated from the following file: