From ddba2b97ba27636f9f6f6ae1bef9781fb8ea5f0c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 15 Jan 2008 20:01:24 +0000 Subject: SLV2 0.4.4. git-svn-id: http://svn.drobilla.net/lad/slv2@1054 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/plugin.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'slv2/plugin.h') diff --git a/slv2/plugin.h b/slv2/plugin.h index 3a386fc..e4e5984 100644 --- a/slv2/plugin.h +++ b/slv2/plugin.h @@ -194,6 +194,18 @@ slv2_plugin_get_value_for_subject(SLV2Plugin p, const char* predicate); +/** Return whether a feature is supported by a plugin. + * + * This will return true if the feature is an optional or required feature + * of the plugin. + * + * Time = Query + */ +bool +slv2_plugin_has_feature(SLV2Plugin p, + const char* feature); + + /** Get the LV2 Features supported (required or optionally) by a plugin. * * A feature is "supported" by a plugin if it is required OR optional. -- cgit v1.2.1