changeset 486:4c000e196bf1

* don't pre-declare classes in Vamp namespace (namespace may change!)
author Chris Cannam
date Thu, 20 Nov 2008 14:58:52 +0000
parents 9eb7ef610d7f
children c45e6c6722e0
files plugin/FeatureExtractionPluginFactory.h plugin/PluginXml.h transform/ModelTransformerFactory.h transform/Transform.h
diffstat 4 files changed, 6 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/plugin/FeatureExtractionPluginFactory.h	Thu Nov 20 12:09:55 2008 +0000
+++ b/plugin/FeatureExtractionPluginFactory.h	Thu Nov 20 14:58:52 2008 +0000
@@ -20,7 +20,7 @@
 #include <vector>
 #include <map>
 
-namespace Vamp { class Plugin; }
+#include <vamp-hostsdk/Plugin.h>
 
 class FeatureExtractionPluginFactory
 {
--- a/plugin/PluginXml.h	Thu Nov 20 12:09:55 2008 +0000
+++ b/plugin/PluginXml.h	Thu Nov 20 14:58:52 2008 +0000
@@ -17,8 +17,7 @@
 #define _PLUGIN_XML_H_
 
 #include "base/XmlExportable.h"
-
-namespace Vamp { class PluginBase; }
+#include <vamp-hostsdk/PluginBase.h>
 
 class QXmlAttributes;
 
--- a/transform/ModelTransformerFactory.h	Thu Nov 20 12:09:55 2008 +0000
+++ b/transform/ModelTransformerFactory.h	Thu Nov 20 14:58:52 2008 +0000
@@ -21,11 +21,11 @@
 
 #include "ModelTransformer.h"
 
+#include <vamp-hostsdk/PluginBase.h>
+
 #include <map>
 #include <set>
 
-namespace Vamp { class PluginBase; }
-
 class AudioPlaySource;
 
 class ModelTransformerFactory : public QObject
--- a/transform/Transform.h	Thu Nov 20 12:09:55 2008 +0000
+++ b/transform/Transform.h	Thu Nov 20 14:58:52 2008 +0000
@@ -20,6 +20,8 @@
 #include "base/Window.h"
 #include "base/RealTime.h"
 
+#include <vamp-hostsdk/PluginBase.h>
+
 #include <QString>
 
 #include <map>
@@ -28,10 +30,6 @@
 
 class QXmlAttributes;
 
-namespace Vamp {
-    class PluginBase;
-}
-
 class Transform : public XmlExportable
 {
 public: