From 0ad295a550f8637cbc71cf15652f94a0cba763d6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 Mar 2011 00:06:07 +0000 Subject: Add slv2_plugin_is_replaced to allow hosts to hide old plugins. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3066 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/slv2.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'slv2') diff --git a/slv2/slv2.h b/slv2/slv2.h index 49e31f5..b55cc16 100644 --- a/slv2/slv2.h +++ b/slv2/slv2.h @@ -921,6 +921,16 @@ SLV2_API SLV2Value slv2_plugin_get_author_homepage(SLV2Plugin plugin); +/** + Return true iff @a plugin has been replaced by another plugin. + + The plugin will still be usable, but hosts should hide them from their + user interfaces to prevent users from using deprecated plugins. +*/ +SLV2_API +bool +slv2_plugin_is_replaced(SLV2Plugin plugin); + /** @} @name Port -- cgit v1.2.1