24 #include "lv2/core/lv2.h"
29 # define SUIL_LIB_IMPORT __declspec(dllimport)
30 # define SUIL_LIB_EXPORT __declspec(dllexport)
32 # define SUIL_LIB_IMPORT __attribute__((visibility("default")))
33 # define SUIL_LIB_EXPORT __attribute__((visibility("default")))
38 # define SUIL_API SUIL_LIB_EXPORT
40 # define SUIL_API SUIL_LIB_IMPORT
72 typedef struct SuilHostImpl
SuilHost;
104 const char* port_symbol);
111 const LV2_Feature*
const* features);
118 const LV2_Feature*
const* features);
186 const char* ui_type_uri);
216 const char* container_type_uri,
217 const char* plugin_uri,
219 const char* ui_type_uri,
220 const char* ui_bundle_path,
221 const char* ui_binary_path,
222 const LV2_Feature*
const* features);
279 uint32_t buffer_size,
SuilHandle suil_instance_get_handle(SuilInstance *instance)
SuilHost * suil_host_new(SuilPortWriteFunc write_func, SuilPortIndexFunc index_func, SuilPortSubscribeFunc subscribe_func, SuilPortUnsubscribeFunc unsubscribe_func)
void suil_init(int *argc, char ***argv, SuilArg key,...)
void suil_host_set_touch_func(SuilHost *host, SuilTouchFunc touch_func)
struct SuilInstanceImpl SuilInstance
void suil_host_free(SuilHost *host)
uint32_t(* SuilPortIndexFunc)(SuilController controller, const char *port_symbol)
uint32_t(* SuilPortUnsubscribeFunc)(SuilController controller, uint32_t port_index, uint32_t protocol, const LV2_Feature *const *features)
void suil_instance_free(SuilInstance *instance)
unsigned suil_ui_supported(const char *host_type_uri, const char *ui_type_uri)
struct SuilHostImpl SuilHost
SuilWidget suil_instance_get_widget(SuilInstance *instance)
const void * suil_instance_extension_data(SuilInstance *instance, const char *uri)
void suil_instance_port_event(SuilInstance *instance, uint32_t port_index, uint32_t buffer_size, uint32_t format, const void *buffer)
uint32_t(* SuilPortSubscribeFunc)(SuilController controller, uint32_t port_index, uint32_t protocol, const LV2_Feature *const *features)
SuilInstance * suil_instance_new(SuilHost *host, SuilController controller, const char *container_type_uri, const char *plugin_uri, const char *ui_uri, const char *ui_type_uri, const char *ui_bundle_path, const char *ui_binary_path, const LV2_Feature *const *features)
void(* SuilPortWriteFunc)(SuilController controller, uint32_t port_index, uint32_t buffer_size, uint32_t protocol, void const *buffer)
void(* SuilTouchFunc)(SuilController controller, uint32_t port_index, bool grabbed)