summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 7e38b48..3ea7b9d 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -32,7 +32,6 @@
#include "slv2/util.h"
#include "slv2_internal.h"
-
/* private
* ownership of uri is taken */
SLV2Plugin
@@ -56,7 +55,6 @@ slv2_plugin_new(SLV2World world, SLV2Value uri, SLV2Value bundle_uri)
return plugin;
}
-
/* private */
void
slv2_plugin_free(SLV2Plugin p)
@@ -88,7 +86,6 @@ slv2_plugin_free(SLV2Plugin p)
free(p);
}
-
/* private */
void
slv2_plugin_load_if_necessary(SLV2Plugin p)
@@ -97,7 +94,6 @@ slv2_plugin_load_if_necessary(SLV2Plugin p)
slv2_plugin_load(p);
}
-
static SLV2Values
slv2_plugin_query_node(SLV2Plugin p, SLV2Node subject, SLV2Node predicate)
{
@@ -123,7 +119,6 @@ slv2_plugin_query_node(SLV2Plugin p, SLV2Node subject, SLV2Node predicate)
return result;
}
-
SLV2Value
slv2_plugin_get_unique(SLV2Plugin p, SLV2Node subject, SLV2Node predicate)
{
@@ -138,7 +133,6 @@ slv2_plugin_get_unique(SLV2Plugin p, SLV2Node subject, SLV2Node predicate)
return ret;
}
-
static SLV2Value
slv2_plugin_get_one(SLV2Plugin p, SLV2Node subject, SLV2Node predicate)
{
@@ -239,7 +233,6 @@ slv2_plugin_load_ports_if_necessary(SLV2Plugin p)
}
}
-
void
slv2_plugin_load(SLV2Plugin p)
{
@@ -290,7 +283,6 @@ slv2_plugin_load(SLV2Plugin p)
p->loaded = true;
}
-
SLV2Value
slv2_plugin_get_uri(SLV2Plugin p)
{
@@ -299,7 +291,6 @@ slv2_plugin_get_uri(SLV2Plugin p)
return p->plugin_uri;
}
-
SLV2Value
slv2_plugin_get_bundle_uri(SLV2Plugin p)
{
@@ -308,7 +299,6 @@ slv2_plugin_get_bundle_uri(SLV2Plugin p)
return p->bundle_uri;
}
-
SLV2Value
slv2_plugin_get_library_uri(SLV2Plugin p)
{
@@ -332,14 +322,12 @@ slv2_plugin_get_library_uri(SLV2Plugin p)
return p->binary_uri;
}
-
SLV2Values
slv2_plugin_get_data_uris(SLV2Plugin p)
{
return p->data_uris;
}
-
SLV2PluginClass
slv2_plugin_get_class(SLV2Plugin p)
{
@@ -382,7 +370,6 @@ slv2_plugin_get_class(SLV2Plugin p)
return p->plugin_class;
}
-
bool
slv2_plugin_verify(SLV2Plugin plugin)
{
@@ -413,7 +400,6 @@ slv2_plugin_verify(SLV2Plugin plugin)
return true;
}
-
SLV2Value
slv2_plugin_get_name(SLV2Plugin plugin)
{
@@ -440,7 +426,6 @@ slv2_plugin_get_name(SLV2Plugin plugin)
return ret;
}
-
SLV2Values
slv2_plugin_get_value(SLV2Plugin p,
SLV2Value predicate)
@@ -448,7 +433,6 @@ slv2_plugin_get_value(SLV2Plugin p,
return slv2_plugin_get_value_for_subject(p, p->plugin_uri, predicate);
}
-
SLV2Values
slv2_plugin_get_value_by_qname(SLV2Plugin p,
const char* predicate)
@@ -465,7 +449,6 @@ slv2_plugin_get_value_by_qname(SLV2Plugin p,
return ret;
}
-
SLV2Values
slv2_plugin_get_value_by_qname_i18n(SLV2Plugin p,
const char* predicate)
@@ -489,7 +472,6 @@ slv2_plugin_get_value_by_qname_i18n(SLV2Plugin p,
return slv2_values_from_stream_i18n(p, results);
}
-
SLV2Values
slv2_plugin_get_value_for_subject(SLV2Plugin p,
SLV2Value subject,
@@ -519,7 +501,6 @@ slv2_plugin_get_value_for_subject(SLV2Plugin p,
predicate->val.uri_val);
}
-
uint32_t
slv2_plugin_get_num_ports(SLV2Plugin p)
{
@@ -527,7 +508,6 @@ slv2_plugin_get_num_ports(SLV2Plugin p)
return p->num_ports;
}
-
void
slv2_plugin_get_port_ranges_float(SLV2Plugin p,
float* min_values,
@@ -555,7 +535,6 @@ slv2_plugin_get_port_ranges_float(SLV2Plugin p,
}
}
-
uint32_t
slv2_plugin_get_num_ports_of_class(SLV2Plugin p,
SLV2Value class_1, ...)
@@ -590,7 +569,6 @@ slv2_plugin_get_num_ports_of_class(SLV2Plugin p,
return ret;
}
-
bool
slv2_plugin_has_latency(SLV2Plugin p)
{
@@ -620,7 +598,6 @@ slv2_plugin_has_latency(SLV2Plugin p)
return ret;
}
-
uint32_t
slv2_plugin_get_latency_port_index(SLV2Plugin p)
{
@@ -654,7 +631,6 @@ slv2_plugin_get_latency_port_index(SLV2Plugin p)
return ret; // FIXME: error handling
}
-
bool
slv2_plugin_has_feature(SLV2Plugin p,
SLV2Value feature)
@@ -667,7 +643,6 @@ slv2_plugin_has_feature(SLV2Plugin p,
return ret;
}
-
SLV2Values
slv2_plugin_get_supported_features(SLV2Plugin p)
{
@@ -689,21 +664,18 @@ slv2_plugin_get_supported_features(SLV2Plugin p)
return result;
}
-
SLV2Values
slv2_plugin_get_optional_features(SLV2Plugin p)
{
return slv2_plugin_get_value_by_qname(p, "lv2:optionalFeature");
}
-
SLV2Values
slv2_plugin_get_required_features(SLV2Plugin p)
{
return slv2_plugin_get_value_by_qname(p, "lv2:requiredFeature");
}
-
SLV2Port
slv2_plugin_get_port_by_index(SLV2Plugin p,
uint32_t index)
@@ -715,7 +687,6 @@ slv2_plugin_get_port_by_index(SLV2Plugin p,
return NULL;
}
-
SLV2Port
slv2_plugin_get_port_by_symbol(SLV2Plugin p,
SLV2Value symbol)
@@ -757,7 +728,6 @@ slv2_plugin_get_author(SLV2Plugin p)
return author;
}
-
SLV2Value
slv2_plugin_get_author_name(SLV2Plugin plugin)
{
@@ -770,7 +740,6 @@ slv2_plugin_get_author_name(SLV2Plugin plugin)
return NULL;
}
-
SLV2Value
slv2_plugin_get_author_email(SLV2Plugin plugin)
{
@@ -783,7 +752,6 @@ slv2_plugin_get_author_email(SLV2Plugin plugin)
return NULL;
}
-
SLV2Value
slv2_plugin_get_author_homepage(SLV2Plugin plugin)
{
@@ -796,7 +764,6 @@ slv2_plugin_get_author_homepage(SLV2Plugin plugin)
return NULL;
}
-
SLV2UIs
slv2_plugin_get_uis(SLV2Plugin p)
{