Prototype LV2 dialog-message feature extension

This commit is contained in:
Robin Gareus 2021-10-06 05:04:57 +02:00
parent 532fbc41cb
commit 72e5ec2c5e
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 49 additions and 2 deletions

View file

@ -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;
/**
@}
*/