diff options
author | David Robillard <d@drobilla.net> | 2010-03-12 01:27:02 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-03-12 01:27:02 +0000 |
commit | 0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1 (patch) | |
tree | 1dc06da55503eda364794e47d0d6cd3a2af792d9 /slv2 | |
parent | 4204ee4da991e652f3142b5d90c37849052c9484 (diff) | |
download | lilv-0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1.tar.gz lilv-0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1.tar.bz2 lilv-0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1.zip |
Chop dead code.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2545 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r-- | slv2/value.h | 24 | ||||
-rw-r--r-- | slv2/world.h | 39 |
2 files changed, 0 insertions, 63 deletions
diff --git a/slv2/value.h b/slv2/value.h index 4a71cad..80e428a 100644 --- a/slv2/value.h +++ b/slv2/value.h @@ -124,30 +124,6 @@ const char* slv2_value_as_uri(SLV2Value value); -#if 0 -/** Return whether the value is a QName ("qualified name", a prefixed URI). - * - * A QName will return true for both this, and slv2_value_is_uri. - * slv2_value_as_uri and slv2_value_as_qname will both return appropriately. - * - * Time = O(1) - */ -bool -slv2_value_is_qname(SLV2Value value); - - -/** Return this value as a QName string, e.g. "lv2:Plugin". - * - * Valid to call only if slv2_value_is_qname(\a value) returns true. - * Returned value is owned by \a value and must not be freed by caller. - * - * Time = O(1) - */ -const char* -slv2_value_as_qname(SLV2Value value); -#endif - - /** Return whether this value is a literal (i.e. not a URI). * * Returns true if \a value is a string or numeric value. diff --git a/slv2/world.h b/slv2/world.h index bb84868..060b2f0 100644 --- a/slv2/world.h +++ b/slv2/world.h @@ -170,45 +170,6 @@ slv2_world_get_plugins_by_filter(SLV2World world, bool (*include)(SLV2Plugin)); -#if 0 -/** Return a list of found plugins in a given class. - * - * Returned list must be freed by user with slv2_plugins_free. The contained - * plugins are owned by \a world and must not be freed by caller. - * - * Time = O(n) - */ -SLV2Plugins -slv2_world_get_plugins_by_class(SLV2World world, - SLV2PluginClass plugin_class); -#endif - -#if 0 -/** Get plugins filtered by a user-defined SPARQL query. - * - * This is much faster than using slv2_world_get_plugins_by_filter with a - * filter function which calls the various slv2_plugin_* functions. - * - * \param query A valid SPARQL query which SELECTs a single variable, which - * should match the URI of plugins to be loaded. - * - * \b Example: Get all plugins with at least 1 audio input and output: -<tt> \verbatim -PREFIX : <http://lv2plug.in/ns/lv2core#> -SELECT DISTINCT ?plugin WHERE { - ?plugin :port [ a :AudioPort; a :InputPort ] ; - :port [ a :AudioPort; a :OutputPort ] . -} -\endverbatim </tt> - * - * Returned plugins contain a reference to this world, world must not be - * destroyed until plugins are finished with. - */ -SLV2Plugins -slv2_world_get_plugins_by_query(SLV2World world, - const char* query); -#endif - /** @} */ #ifdef __cplusplus |