mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Prototype LV2 dialog-message feature extension
This commit is contained in:
parent
532fbc41cb
commit
72e5ec2c5e
2 changed files with 49 additions and 2 deletions
|
|
@ -276,6 +276,31 @@ typedef struct {
|
|||
void (*notify)(LV2_BankPatch_Handle handle, uint8_t channel, uint32_t bank, uint8_t pgm);
|
||||
} LV2_BankPatch;
|
||||
|
||||
/**
|
||||
@}
|
||||
*/
|
||||
|
||||
/**
|
||||
@defgroup LV2_Dialog_Message
|
||||
|
||||
LV2 extension to allow a plugin to ask a host to display
|
||||
a dedicated dialog message when requesting a value
|
||||
|
||||
@{
|
||||
*/
|
||||
|
||||
|
||||
#define LV2_DIALOGMESSAGE_URI "http://ardour.org/lv2/dialog_message"
|
||||
|
||||
/** a LV2 Feature provided by the Plugin, passed as optional feature to LV2_UI__requestValue */
|
||||
typedef struct {
|
||||
void (*free_msg)(char const* msg);
|
||||
|
||||
char const* msg;
|
||||
bool requires_return;
|
||||
|
||||
} LV2_Dialog_Message;
|
||||
|
||||
/**
|
||||
@}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue