17 #ifndef _ardour_lv2_extensions_h_
18 #define _ardour_lv2_extensions_h_
20 #ifdef HAVE_LV2_1_18_6
21 #include <lv2/core/lv2.h>
22 #include <lv2/options/options.h>
24 #include <lv2/lv2plug.in/ns/lv2core/lv2.h>
25 #include <lv2/lv2plug.in/ns/ext/options/options.h>
37 #define LV2_INLINEDISPLAY_URI "http://harrisonconsoles.com/lv2/inlinedisplay"
38 #define LV2_INLINEDISPLAY_PREFIX LV2_INLINEDISPLAY_URI "#"
39 #define LV2_INLINEDISPLAY__interface LV2_INLINEDISPLAY_PREFIX "interface"
40 #define LV2_INLINEDISPLAY__queue_draw LV2_INLINEDISPLAY_PREFIX "queue_draw"
41 #define LV2_INLINEDISPLAY__in_gui LV2_INLINEDISPLAY_PREFIX "in_gui"
96 #define LV2_AUTOMATE_URI "http://ardour.org/lv2/automate"
97 #define LV2_AUTOMATE_URI_PREFIX LV2_AUTOMATE_URI "#"
99 #define LV2_AUTOMATE_URI__can_write LV2_AUTOMATE_URI_PREFIX "canWriteAutomatation"
101 #define LV2_AUTOMATE_URI__control LV2_AUTOMATE_URI_PREFIX "automationControl"
103 #define LV2_AUTOMATE_URI__controlled LV2_AUTOMATE_URI_PREFIX "automationControlled"
104 #define LV2_AUTOMATE_URI__controller LV2_AUTOMATE_URI_PREFIX "automationController"
107 #define LV2_AUTOMATE_URI__event LV2_AUTOMATE_URI_PREFIX "event"
108 #define LV2_AUTOMATE_URI__setup LV2_AUTOMATE_URI_PREFIX "setup"
109 #define LV2_AUTOMATE_URI__finalize LV2_AUTOMATE_URI_PREFIX "finalize"
110 #define LV2_AUTOMATE_URI__start LV2_AUTOMATE_URI_PREFIX "start"
111 #define LV2_AUTOMATE_URI__end LV2_AUTOMATE_URI_PREFIX "end"
112 #define LV2_AUTOMATE_URI__parameter LV2_AUTOMATE_URI_PREFIX "parameter"
113 #define LV2_AUTOMATE_URI__value LV2_AUTOMATE_URI_PREFIX "value"
128 #define LV2_PLUGINLICENSE_URI "http://harrisonconsoles.com/lv2/license"
129 #define LV2_PLUGINLICENSE_PREFIX LV2_PLUGINLICENSE_URI "#"
130 #define LV2_PLUGINLICENSE__interface LV2_PLUGINLICENSE_PREFIX "interface"
131 #define LV2_PLUGINLICENSE__interface2 LV2_PLUGINLICENSE_PREFIX "interface2"
138 char* (*licensee)(LV2_Handle instance);
140 const char* (*product_uri)(LV2_Handle instance);
142 const char* (*product_name)(LV2_Handle instance);
144 const char* (*store_url)(LV2_Handle instance);
146 char* (*preferred_license_file_path)(LV2_Handle instance);
148 char* (*current_license_file_path)(LV2_Handle instance);
181 #define LV2_PROCESSING_URI "http://ardour.org/lv2/processing"
182 #define LV2_PROCESSING_URI_PREFIX LV2_PROCESSING_URI "#"
183 #define LV2_PROCESSING_URI__enable LV2_PROCESSING_URI_PREFIX "enable"
204 #define LV2_ROUTING_URI "http://harrisonconsoles.com/lv2/routing"
205 #define LV2_ROUTING_PREFIX LV2_ROUTING_URI "#"
206 #define LV2_ROUTING__connectAllOutputs LV2_ROUTING_PREFIX "connectAllOutputs"
219 #define LV2_MIDNAM_URI "http://ardour.org/lv2/midnam"
220 #define LV2_MIDNAM_PREFIX LV2_MIDNAM_URI "#"
221 #define LV2_MIDNAM__interface LV2_MIDNAM_PREFIX "interface"
222 #define LV2_MIDNAM__update LV2_MIDNAM_PREFIX "update"
243 char* (*midnam)(LV2_Handle instance);
248 char* (*model)(LV2_Handle instance);
271 #define LV2_BANKPATCH_URI "http://ardour.org/lv2/bankpatch"
272 #define LV2_BANKPATCH_PREFIX LV2_BANKPATCH_URI "#"
273 #define LV2_BANKPATCH__notify LV2_BANKPATCH_PREFIX "notify"
298 #define LV2_EXPORT_URI "http://ardour.org/lv2/export"
299 #define LV2_EXPORT_PREFIX LV2_EXPORT_URI "#"
300 #define LV2_EXPORT__interface LV2_EXPORT_PREFIX "interface"
305 int (*setup)(LV2_Handle,
const char*, LV2_Options_Option
const*);
307 int (*finalize)(LV2_Handle);
void * LV2_BankPatch_Handle
void * LV2_Inline_Display_Handle
struct _LV2_License_Interface LV2_License_Interface
LV2_BankPatch_Handle handle
LV2_Inline_Display_Handle handle
int(* is_licensed)(LV2_Handle instance)