diff vamp-sdk/PluginHostAdapter.cpp @ 50:b907557b2fb9

* Add a structure for API versioning
author cannam
date Tue, 27 Feb 2007 12:48:17 +0000
parents aa64a46320d4
children 1e7ab0399852
line wrap: on
line diff
--- a/vamp-sdk/PluginHostAdapter.cpp	Mon Feb 26 18:08:48 2007 +0000
+++ b/vamp-sdk/PluginHostAdapter.cpp	Tue Feb 27 12:48:17 2007 +0000
@@ -140,6 +140,12 @@
     }
 }
 
+unsigned int
+PluginHostAdapter::getVampApiVersion() const
+{
+    return m_descriptor->vampApiVersion;
+}
+
 std::string
 PluginHostAdapter::getIdentifier() const
 {