diff options
author | David Robillard <d@drobilla.net> | 2007-02-18 20:08:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-18 20:08:45 +0000 |
commit | f340d22e82760166d24a037d8466501217b06a3e (patch) | |
tree | fbc725a1b959d2e3ad634f078f1045cf26519ebd /slv2/plugin.h | |
parent | a80e895b0b23d478807377360b85b4bb1d7073b7 (diff) | |
download | lilv-f340d22e82760166d24a037d8466501217b06a3e.tar.gz lilv-f340d22e82760166d24a037d8466501217b06a3e.tar.bz2 lilv-f340d22e82760166d24a037d8466501217b06a3e.zip |
API updates (removed SLV2Value (binary compatibility nightmare waiting to happen) and added consistent SLV2Plugins and SLV2Strings).
Documentation cleanups.
git-svn-id: http://svn.drobilla.net/lad/slv2@314 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/plugin.h')
-rw-r--r-- | slv2/plugin.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/slv2/plugin.h b/slv2/plugin.h index 5555437..05bba75 100644 --- a/slv2/plugin.h +++ b/slv2/plugin.h @@ -32,7 +32,7 @@ extern "C" { typedef const struct _Plugin SLV2Plugin; -/** \defgroup data Plugin data file access +/** \defgroup data Plugin - RDF data access * * These functions work exclusively with the plugin's RDF data file. They do * not load the plugin dynamic library (or access @@ -95,7 +95,7 @@ slv2_plugin_get_uri(const SLV2Plugin* plugin); * \return a complete URL eg. "file:///usr/foo/SomeBundle.lv2/someplug.ttl", * which is shared and must not be modified or free()'d. */ -SLV2URIList +SLV2Strings slv2_plugin_get_data_uris(const SLV2Plugin* plugin); @@ -124,7 +124,7 @@ slv2_plugin_get_name(const SLV2Plugin* plugin); /** Request some arbitrary RDF object of the plugin. * * May return NULL if the property was not found (ie is not defined in the - * data file), or if object is not sensibly represented as an SLV2Value + * data file), or if object is not sensibly represented as an SLV2Strings * (e.g. blank nodes). * * Return value must be freed by caller with slv2_value_free. @@ -134,7 +134,7 @@ slv2_plugin_get_name(const SLV2Plugin* plugin); * $LANG will be returned if it is set. Otherwise all values will be * returned. */ -SLV2Value +SLV2Strings slv2_plugin_get_value(const SLV2Plugin* p, const char* predicate); @@ -147,7 +147,7 @@ slv2_plugin_get_value(const SLV2Plugin* p, * * Return value must be freed by caller with slv2_value_free. */ -SLV2Value +SLV2Strings slv2_plugin_get_properties(const SLV2Plugin* p); @@ -158,7 +158,7 @@ slv2_plugin_get_properties(const SLV2Plugin* p); * * Return value must be freed by caller with slv2_value_free. */ -SLV2Value +SLV2Strings slv2_plugin_get_hints(const SLV2Plugin* p); @@ -193,7 +193,7 @@ slv2_plugin_get_latency_port(const SLV2Plugin* p); * * This returns a list of all supported features (both required and optional). */ -SLV2Value +SLV2Strings slv2_plugin_get_supported_features(const SLV2Plugin* p); @@ -202,7 +202,7 @@ slv2_plugin_get_supported_features(const SLV2Plugin* p); * All feature URI's returned by this call MUST be passed to the plugin's * instantiate method for the plugin to instantiate successfully. */ -SLV2Value +SLV2Strings slv2_plugin_get_required_features(const SLV2Plugin* p); @@ -212,7 +212,7 @@ slv2_plugin_get_required_features(const SLV2Plugin* p); * instantiate method, those features will be used by the function, otherwise * the plugin will act as it would if it did not support that feature at all. */ -SLV2Value +SLV2Strings slv2_plugin_get_optional_features(const SLV2Plugin* p); |