Indicate whether to show plugin's inline display in GUI

This is currently done by an extension data similarly to
LV2_INLINEDISPLAY__interface.
This commit is contained in:
Johannes Mueller 2017-07-21 14:51:57 +02:00 committed by Robin Gareus
parent 59775df9be
commit 2716ce41e0
6 changed files with 20 additions and 2 deletions

View file

@ -873,6 +873,9 @@ extension_data(const char* uri)
if (!strcmp(uri, LV2_INLINEDISPLAY__interface)) {
return &display;
}
if (!strcmp(uri, LV2_INLINEDISPLAY__in_gui)) {
return &display;
}
#endif
return NULL;
}