diff options
author | David Robillard <d@drobilla.net> | 2011-02-24 09:00:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-24 09:00:54 +0000 |
commit | 128894e12e8089614b13afa00e3383e6e80b7341 (patch) | |
tree | 7d4e90c37814da0e0d810c69ca6b2dfdeaa8de0c /src/suil_internal.h | |
parent | 4f571715ad05ca72172fa149be6bb308ff444695 (diff) | |
download | suil-128894e12e8089614b13afa00e3383e6e80b7341.tar.gz suil-128894e12e8089614b13afa00e3383e6e80b7341.tar.bz2 suil-128894e12e8089614b13afa00e3383e6e80b7341.zip |
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
Diffstat (limited to 'src/suil_internal.h')
-rw-r--r-- | src/suil_internal.h | 25 |
1 files changed, 0 insertions, 25 deletions
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 |