diff options
author | David Robillard <d@drobilla.net> | 2011-03-11 00:06:07 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-11 00:06:07 +0000 |
commit | 0ad295a550f8637cbc71cf15652f94a0cba763d6 (patch) | |
tree | 780fc86cb4ac8cc3c0da6454c6e0a77968b5eb1c /slv2/slv2.h | |
parent | 21d99cda2491dca95217a4a0012020da31090d8a (diff) | |
download | lilv-0ad295a550f8637cbc71cf15652f94a0cba763d6.tar.gz lilv-0ad295a550f8637cbc71cf15652f94a0cba763d6.tar.bz2 lilv-0ad295a550f8637cbc71cf15652f94a0cba763d6.zip |
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
Diffstat (limited to 'slv2/slv2.h')
-rw-r--r-- | slv2/slv2.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/slv2/slv2.h b/slv2/slv2.h index 49e31f5..b55cc16 100644 --- a/slv2/slv2.h +++ b/slv2/slv2.h @@ -922,6 +922,16 @@ 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 @{ |