diff vamp-client/PluginStub.h @ 97:427c4c725085

Bring in the Request/Response classes that were in the Vamp SDK, adding them to vamp-support in here instead
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 13 Oct 2016 18:05:35 +0100
parents a660dca988f8
children cd438188e3f9
line wrap: on
line diff
--- a/vamp-client/PluginStub.h	Thu Oct 13 17:00:06 2016 +0100
+++ b/vamp-client/PluginStub.h	Thu Oct 13 18:05:35 2016 +0100
@@ -4,15 +4,16 @@
 
 #include <vamp-hostsdk/Plugin.h>
 #include <vamp-hostsdk/PluginLoader.h>
-#include <vamp-hostsdk/PluginStaticData.h>
-#include <vamp-hostsdk/PluginConfiguration.h>
+
+#include "vamp-support/PluginStaticData.h"
+#include "vamp-support/PluginConfiguration.h"
 
 #include <cstdint>
 
 #include "PluginClient.h"
 
-namespace piper {
-namespace vampclient {
+namespace piper_vamp {
+namespace client {
 
 class PluginStub : public Vamp::Plugin
 {
@@ -25,8 +26,8 @@
                std::string pluginKey,
                float inputSampleRate,
                int adapterFlags,
-               Vamp::HostExt::PluginStaticData psd,
-               Vamp::HostExt::PluginConfiguration defaultConfig) :
+               PluginStaticData psd,
+               PluginConfiguration defaultConfig) :
         Plugin(inputSampleRate),
         m_client(client),
         m_key(pluginKey),
@@ -230,10 +231,10 @@
     std::string m_key;
     int m_adapterFlags;
     State m_state;
-    Vamp::HostExt::PluginStaticData m_psd;
+    PluginStaticData m_psd;
     OutputList m_outputs;
-    Vamp::HostExt::PluginConfiguration m_defaultConfig;
-    Vamp::HostExt::PluginConfiguration m_config;
+    PluginConfiguration m_defaultConfig;
+    PluginConfiguration m_config;
 };
 
 }