summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-12-09 07:40:55 +0000
committerDavid Robillard <d@drobilla.net>2006-12-09 07:40:55 +0000
commite6eeac0ccc48f9a863aafd7ddf6d51c43b7e52b0 (patch)
treeee37b6efc523629e437a6a7b5be48b5f472365ba
parent7eb82046bc311a49ec2348ef70d03c609d29dbee (diff)
downloadlilv-e6eeac0ccc48f9a863aafd7ddf6d51c43b7e52b0.tar.gz
lilv-e6eeac0ccc48f9a863aafd7ddf6d51c43b7e52b0.tar.bz2
lilv-e6eeac0ccc48f9a863aafd7ddf6d51c43b7e52b0.zip
Updated to match lv2.ttl changes (HostFeature class names)
git-svn-id: http://svn.drobilla.net/lad/slv2@213 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugin.c b/src/plugin.c
index d2f5849..7746488 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -235,9 +235,9 @@ slv2_plugin_get_supported_features(const SLV2Plugin* p)
{
const char* const query =
"SELECT DISTINCT ?feature FROM data: WHERE { \n"
- " { plugin: lv2:requiredHostFeature ?feature } \n"
+ " { plugin: lv2:optionalHostFeature ?feature } \n"
" UNION \n"
- " { plugin: lv2:supportedHostFeature ?feature } \n"
+ " { plugin: lv2:requiredHostFeature ?feature } \n"
"}\n";
SLV2Property result = slv2_query_get_results(p, query, "feature");
@@ -251,7 +251,7 @@ slv2_plugin_get_optional_features(const SLV2Plugin* p)
{
const char* const query =
"SELECT DISTINCT ?feature FROM data: WHERE { \n"
- " plugin: lv2:supportedHostFeature ?feature . \n"
+ " plugin: lv2:optionalHostFeature ?feature . \n"
"}\n";
SLV2Property result = slv2_query_get_results(p, query, "feature");