diff data/fileio/MIDIFileReader.h @ 1491:1dc64d3d323c import-audio-data

Support progress reporter for data file loads
author Chris Cannam
date Fri, 29 Jun 2018 13:44:53 +0100
parents 48e9f538e6e9
children c01cbe41aeb5
line wrap: on
line diff
--- a/data/fileio/MIDIFileReader.h	Thu Jun 28 15:52:30 2018 +0100
+++ b/data/fileio/MIDIFileReader.h	Fri Jun 29 13:44:53 2018 +0100
@@ -31,6 +31,7 @@
 #include <QObject>
 
 class MIDIEvent;
+class ProgressReporter;
 
 typedef unsigned char MIDIByte;
 
@@ -61,7 +62,8 @@
 public:
     MIDIFileReader(QString path,
                    MIDIFileImportPreferenceAcquirer *pref, // may be null
-                   sv_samplerate_t mainModelSampleRate);
+                   sv_samplerate_t mainModelSampleRate,
+                   ProgressReporter *reporter = 0);
     virtual ~MIDIFileReader();
 
     virtual bool isOK() const;