comparison data/fileio/MIDIFileReader.h @ 1047:26cf6d5251ec cxx11

Further dedicated-types fixes
author Chris Cannam
date Tue, 10 Mar 2015 17:02:52 +0000
parents cc27f35aa75c
children 1c9bbbb6116a
comparison
equal deleted inserted replaced
1046:2f49be7d4264 1047:26cf6d5251ec
60 Q_OBJECT 60 Q_OBJECT
61 61
62 public: 62 public:
63 MIDIFileReader(QString path, 63 MIDIFileReader(QString path,
64 MIDIFileImportPreferenceAcquirer *pref, 64 MIDIFileImportPreferenceAcquirer *pref,
65 int mainModelSampleRate); 65 sv_samplerate_t mainModelSampleRate);
66 virtual ~MIDIFileReader(); 66 virtual ~MIDIFileReader();
67 67
68 virtual bool isOK() const; 68 virtual bool isOK() const;
69 virtual QString getError() const; 69 virtual QString getError() const;
70 virtual Model *load() const; 70 virtual Model *load() const;
126 126
127 QString m_path; 127 QString m_path;
128 std::ifstream *m_midiFile; 128 std::ifstream *m_midiFile;
129 size_t m_fileSize; 129 size_t m_fileSize;
130 QString m_error; 130 QString m_error;
131 int m_mainModelSampleRate; 131 sv_samplerate_t m_mainModelSampleRate;
132 132
133 MIDIFileImportPreferenceAcquirer *m_acquirer; 133 MIDIFileImportPreferenceAcquirer *m_acquirer;
134 }; 134 };
135 135
136 136