Mercurial > hg > vamp-plugin-sdk
diff vamp-sdk/PluginBase.h @ 50:b907557b2fb9
* Add a structure for API versioning
author | cannam |
---|---|
date | Tue, 27 Feb 2007 12:48:17 +0000 |
parents | aa64a46320d4 |
children | 74822738965b |
line wrap: on
line diff
--- a/vamp-sdk/PluginBase.h Mon Feb 26 18:08:48 2007 +0000 +++ b/vamp-sdk/PluginBase.h Tue Feb 27 12:48:17 2007 +0000 @@ -61,6 +61,11 @@ virtual ~PluginBase() { } /** + * Get the Vamp API compatibility level of the plugin. + */ + virtual unsigned int getVampApiVersion() const { return 1; } + + /** * Get the computer-usable name of the plugin. This should be * reasonably short and contain no whitespace or punctuation * characters. It may only contain the characters [a-zA-Z0-9_].