summaryrefslogtreecommitdiffstats
path: root/src/slv2_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-22 19:43:11 +0000
committerDavid Robillard <d@drobilla.net>2007-09-22 19:43:11 +0000
commit996f9015fe055ca63823110175593317ac20c80f (patch)
tree526d4bb1c4dd2ed8c5a05dcacabe78e1d000bd22 /src/slv2_internal.h
parent106b0784b8c8347bbbebcedc421030effdc26fd0 (diff)
downloadlilv-996f9015fe055ca63823110175593317ac20c80f.tar.gz
lilv-996f9015fe055ca63823110175593317ac20c80f.tar.bz2
lilv-996f9015fe055ca63823110175593317ac20c80f.zip
LV2 UI extension updates.
LV2 GUI support in ingen. git-svn-id: http://svn.drobilla.net/lad/slv2@763 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/slv2_internal.h')
-rw-r--r--src/slv2_internal.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/slv2_internal.h b/src/slv2_internal.h
index 1dedc50..1a34699 100644
--- a/src/slv2_internal.h
+++ b/src/slv2_internal.h
@@ -99,7 +99,7 @@ struct _InstanceImpl {
/* ********* GUI Instance ********* */
-struct _SLV2GUIInstanceImpl {
+struct _SLV2UIInstanceImpl {
void* lib_handle;
const LV2UI_Descriptor* lv2ui_descriptor;
LV2UI_Handle lv2ui_handle;
@@ -171,8 +171,8 @@ slv2_world_load_file(SLV2World world, librdf_uri* file_uri);
/* ********* GUI ********* */
-struct _SLV2GUI {
- SLV2GUIType type;
+struct _SLV2UI {
+ SLV2UIType type;
char* uri;
};
@@ -186,16 +186,16 @@ typedef enum _SLV2ValueType {
SLV2_VALUE_STRING,
SLV2_VALUE_INT,
SLV2_VALUE_FLOAT,
- SLV2_VALUE_GUI
+ SLV2_VALUE_UI
} SLV2ValueType;
struct _SLV2Value {
SLV2ValueType type;
char* str_val; ///< always present
union {
- int int_val;
- float float_val;
- SLV2GUIType gui_type_val;
+ int int_val;
+ float float_val;
+ SLV2UIType ui_type_val;
} val;
};