Ardour  9.0-pre0-582-g084a23a80d
suil.h File Reference
#include "lv2/core/lv2.h"
#include <stdbool.h>
Include dependency graph for suil.h:

Go to the source code of this file.

Macros

#define SUIL_LIB_IMPORT   __attribute__((visibility("default")))
 
#define SUIL_LIB_EXPORT   __attribute__((visibility("default")))
 
#define SUIL_API
 

Typedefs

typedef struct SuilHostImpl SuilHost
 
typedef struct SuilInstanceImpl SuilInstance
 
typedef void * SuilHandle
 
typedef void * SuilWidget
 
typedef void * SuilController
 
typedef void(* SuilPortWriteFunc) (SuilController controller, uint32_t port_index, uint32_t buffer_size, uint32_t protocol, void const *buffer)
 
typedef uint32_t(* SuilPortIndexFunc) (SuilController controller, const char *port_symbol)
 
typedef uint32_t(* SuilPortSubscribeFunc) (SuilController controller, uint32_t port_index, uint32_t protocol, const LV2_Feature *const *features)
 
typedef uint32_t(* SuilPortUnsubscribeFunc) (SuilController controller, uint32_t port_index, uint32_t protocol, const LV2_Feature *const *features)
 
typedef void(* SuilTouchFunc) (SuilController controller, uint32_t port_index, bool grabbed)
 

Enumerations

enum  SuilArg { SUIL_ARG_NONE }
 

Functions

void suil_init (int *argc, char ***argv, SuilArg key,...)
 
SuilHostsuil_host_new (SuilPortWriteFunc write_func, SuilPortIndexFunc index_func, SuilPortSubscribeFunc subscribe_func, SuilPortUnsubscribeFunc unsubscribe_func)
 
void suil_host_set_touch_func (SuilHost *host, SuilTouchFunc touch_func)
 
void suil_host_free (SuilHost *host)
 
unsigned suil_ui_supported (const char *host_type_uri, const char *ui_type_uri)
 
SuilInstancesuil_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 suil_instance_free (SuilInstance *instance)
 
SuilHandle suil_instance_get_handle (SuilInstance *instance)
 
SuilWidget suil_instance_get_widget (SuilInstance *instance)
 
void suil_instance_port_event (SuilInstance *instance, uint32_t port_index, uint32_t buffer_size, uint32_t format, const void *buffer)
 
const void * suil_instance_extension_data (SuilInstance *instance, const char *uri)
 

Detailed Description

API for Suil, an LV2 UI wrapper library.

Definition in file suil.h.

Macro Definition Documentation

◆ SUIL_API

#define SUIL_API

Definition at line 43 of file suil.h.

◆ SUIL_LIB_EXPORT

#define SUIL_LIB_EXPORT   __attribute__((visibility("default")))

Definition at line 33 of file suil.h.

◆ SUIL_LIB_IMPORT

#define SUIL_LIB_IMPORT   __attribute__((visibility("default")))

Definition at line 32 of file suil.h.