diff runner/JAMSFeatureWriter.h @ 169:859d8ec60e06 jams

Add setNofM logic which the JSON writer can use to write a list when sending multiple files' worth to a single target
author Chris Cannam
date Wed, 15 Oct 2014 16:05:15 +0100
parents e5873fb4ffb3
children 3b7ec45abd1c
line wrap: on
line diff
--- a/runner/JAMSFeatureWriter.h	Wed Oct 15 15:20:16 2014 +0100
+++ b/runner/JAMSFeatureWriter.h	Wed Oct 15 16:05:15 2014 +0100
@@ -36,6 +36,8 @@
 
     virtual void setTrackMetadata(QString trackid, TrackMetadata metadata);
 
+    virtual void setNofM(int, int);
+    
     virtual void write(QString trackid,
                        const Transform &transform,
                        const Vamp::Plugin::OutputDescriptor &output,
@@ -95,6 +97,8 @@
 
     bool m_network;
     bool m_networkRetrieved;
+    int m_n;
+    int m_m;
 };
 
 #endif