comparison 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
comparison
equal deleted inserted replaced
49:aa64a46320d4 50:b907557b2fb9
57 57
58 class PluginBase 58 class PluginBase
59 { 59 {
60 public: 60 public:
61 virtual ~PluginBase() { } 61 virtual ~PluginBase() { }
62
63 /**
64 * Get the Vamp API compatibility level of the plugin.
65 */
66 virtual unsigned int getVampApiVersion() const { return 1; }
62 67
63 /** 68 /**
64 * Get the computer-usable name of the plugin. This should be 69 * Get the computer-usable name of the plugin. This should be
65 * reasonably short and contain no whitespace or punctuation 70 * reasonably short and contain no whitespace or punctuation
66 * characters. It may only contain the characters [a-zA-Z0-9_]. 71 * characters. It may only contain the characters [a-zA-Z0-9_].