diff bits/RequestOrResponse.h @ 55:38780f15ac8d

Make RequestResponse types more consistent by adding plugin to ConfigurationResponse and introducing a FinishRequest
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 19 Sep 2016 13:35:56 +0100
parents 2d97883d20df
children 815e94fedc1c
line wrap: on
line diff
--- a/bits/RequestOrResponse.h	Fri Sep 16 16:34:00 2016 +0100
+++ b/bits/RequestOrResponse.h	Mon Sep 19 13:35:56 2016 +0100
@@ -55,8 +55,7 @@
     RequestOrResponse() : // nothing by default
 	direction(Request),
 	type(RRType::NotValid),
-	success(false),
-	finishPlugin(0) { }
+	success(false) { }
 
     Direction direction;
     RRType type;
@@ -70,7 +69,7 @@
     Vamp::HostExt::ConfigurationResponse configurationResponse;
     Vamp::HostExt::ProcessRequest processRequest;
     Vamp::HostExt::ProcessResponse processResponse;
-    Vamp::Plugin *finishPlugin;
+    Vamp::HostExt::FinishRequest finishRequest;
     Vamp::HostExt::ProcessResponse finishResponse;
 };