summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
Diffstat (limited to 'slv2')
-rw-r--r--slv2/value.h24
-rw-r--r--slv2/world.h39
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