summaryrefslogtreecommitdiffstats
path: root/src/collections.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-12 04:25:39 +0000
committerDavid Robillard <d@drobilla.net>2011-02-12 04:25:39 +0000
commitc32c1593bc6b7c887e7c106531de2567b0da5aa1 (patch)
treefedac05f9957c298de652900646811a0b35b4815 /src/collections.c
parent4d75c4711b12747e37286f5c3cc5bf741d7b351e (diff)
downloadlilv-c32c1593bc6b7c887e7c106531de2567b0da5aa1.tar.gz
lilv-c32c1593bc6b7c887e7c106531de2567b0da5aa1.tar.bz2
lilv-c32c1593bc6b7c887e7c106531de2567b0da5aa1.zip
Make UI support a compile-time option, and separate UI functions into slv2/ui.h.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2930 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/collections.c')
-rw-r--r--src/collections.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/collections.c b/src/collections.c
index 862a401..6ec004e 100644
--- a/src/collections.c
+++ b/src/collections.c
@@ -106,9 +106,12 @@ prefix ## _get_by_uri(CollType coll, SLV2Value uri) \
}
SLV2_SEQUENCE_IMPL(SLV2PluginClasses, SLV2PluginClass,
- slv2_plugin_classes, &slv2_plugin_class_free)
+ slv2_plugin_classes, &slv2_plugin_class_free)
+
+#ifdef SLV2_WITH_UI
SLV2_SEQUENCE_IMPL(SLV2UIs, SLV2UI,
- slv2_uis, &slv2_ui_free)
+ slv2_uis, &slv2_ui_free)
+#endif
/* VALUES */