From 128894e12e8089614b13afa00e3383e6e80b7341 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 24 Feb 2011 09:00:54 +0000 Subject: Make Suil exclusively deal with instantiating (not choosing) UIs. Add slv2_ui_instance_new as a replacement for slv2_ui_instantiate (now deprecated), which supports cross-toolkit embedding by taking an additional widget type pointer. Remove direct Suil dependency from Ingen. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3022 a436a847-0d15-0410-975c-d299462d15a1 --- src/suil_internal.h | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'src/suil_internal.h') diff --git a/src/suil_internal.h b/src/suil_internal.h index 23de999..26aade6 100644 --- a/src/suil_internal.h +++ b/src/suil_internal.h @@ -28,21 +28,6 @@ #define SUIL_ERRORF(fmt, ...) fprintf(stderr, "error: %s: " fmt, \ __func__, __VA_ARGS__) -struct _SuilUI { - char* uri; - char* type_uri; - char* bundle_path; - char* binary_path; -}; - -typedef struct _SuilUI* SuilUI; - -struct _SuilUIs { - char* plugin_uri; - SuilUI* uis; - unsigned n_uis; -}; - struct _SuilInstance { void* lib_handle; const LV2UI_Descriptor* descriptor; @@ -51,16 +36,6 @@ struct _SuilInstance { LV2UI_Widget host_widget; }; -/** Get the UI with the given URI. */ -SuilUI -suil_uis_get(SuilUIs uis, - const char* ui_uri); - -/** Get the best UI for the given type. */ -SuilUI -suil_uis_get_best(SuilUIs uis, - const char* type_uri); - /** Type of a module's suil_wrap_init function. * This initialisation function must be called before instantiating any * UI that will need to be wrapped by this wrapper (e.g. it will perform any -- cgit v1.2.1