diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-13 23:52:48 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-14 00:17:16 +0100 |
commit | c32824e4523a920c9e541cdc40ebaef47e17da29 (patch) | |
tree | e38797b02cf08e03d03db449a288cc36d6e55402 /libs/ardour/ardour/lv2_plugin.h | |
parent | 58469214befaa714c856790b78da58c4593b2b54 (diff) |
Implement LV2 Inline Display Extension
Diffstat (limited to 'libs/ardour/ardour/lv2_plugin.h')
-rw-r--r-- | libs/ardour/ardour/lv2_plugin.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ardour/ardour/lv2_plugin.h b/libs/ardour/ardour/lv2_plugin.h index aacef82e5b..020cddf34b 100644 --- a/libs/ardour/ardour/lv2_plugin.h +++ b/libs/ardour/ardour/lv2_plugin.h @@ -257,6 +257,10 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee RingBuffer<uint8_t>* _to_ui; RingBuffer<uint8_t>* _from_ui; +#ifdef LV2_EXTENDED + const LV2_Inline_Display_Interface* _display_interface; +#endif + typedef struct { const void* (*extension_data) (const char* uri); } LV2_DataAccess; @@ -269,6 +273,9 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee LV2_Feature _work_schedule_feature; LV2_Feature _options_feature; LV2_Feature _def_state_feature; +#ifdef LV2_EXTENDED + LV2_Feature _queue_draw_feature; +#endif // Options passed to plugin int32_t _seq_size; @@ -292,6 +299,11 @@ class LIBARDOUR_API LV2Plugin : public ARDOUR::Plugin, public ARDOUR::Workee void load_supported_properties(PropertyDescriptors& descs); +#ifdef LV2_EXTENDED + bool has_inline_display (); + void* render_inline_display (uint32_t, uint32_t); +#endif + void latency_compute_run (); std::string do_save_preset (std::string); void do_remove_preset (std::string); |