summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c
index e86b16a..ce5299e 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -63,6 +63,7 @@ slv2_plugin_new(SLV2World world, SLV2Value uri, SLV2Value bundle_uri)
plugin->ports = NULL;
plugin->num_ports = 0;
plugin->loaded = false;
+ plugin->replaced = false;
return plugin;
}
@@ -775,6 +776,13 @@ slv2_plugin_get_author_homepage(SLV2Plugin plugin)
}
SLV2_API
+bool
+slv2_plugin_is_replaced(SLV2Plugin plugin)
+{
+ return plugin->replaced;
+}
+
+SLV2_API
SLV2UIs
slv2_plugin_get_uis(SLV2Plugin p)
{