00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __SLV2_PLUGINUIINSTANCE_H__
00020 #define __SLV2_PLUGINUIINSTANCE_H__
00021
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025
00026 #include <assert.h>
00027 #include "slv2/lv2_ui.h"
00028 #include "slv2/plugin.h"
00029
00030 typedef struct _SLV2UIInstanceImpl* SLV2UIInstanceImpl;
00031
00032
00033
00034
00035
00036
00037 typedef struct _SLV2UIInstance {
00038 SLV2UIInstanceImpl pimpl;
00039 }* SLV2UIInstance;
00040
00041
00062 SLV2UIInstance
00063 slv2_ui_instantiate(SLV2Plugin plugin,
00064 SLV2UI ui,
00065 LV2UI_Write_Function write_function,
00066 LV2UI_Controller controller,
00067 const LV2_Feature* const* features);
00068
00069
00078 void
00079 slv2_ui_instance_free(SLV2UIInstance instance);
00080
00081
00084 LV2UI_Widget
00085 slv2_ui_instance_get_widget(SLV2UIInstance instance);
00086
00087
00095 const LV2UI_Descriptor*
00096 slv2_ui_instance_get_descriptor(SLV2UIInstance instance);
00097
00098
00106 LV2UI_Handle
00107 slv2_ui_instance_get_handle(SLV2UIInstance instance);
00108
00109
00112 #ifdef __cplusplus
00113 }
00114 #endif
00115
00116
00117 #endif
00118