Mercurial > hg > svcore
comparison data/fileio/DataFileReaderFactory.h @ 1450:a12fd0456f0c streaming-csv-writer
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 17 Apr 2018 10:35:42 +0100 |
parents | 48e9f538e6e9 |
children | 1dc64d3d323c |
comparison
equal
deleted
inserted
replaced
1449:deabf9fd3d28 | 1450:a12fd0456f0c |
---|---|
46 * Note that this function is non-interactive -- the user is not | 46 * Note that this function is non-interactive -- the user is not |
47 * asked for file format preferences. | 47 * asked for file format preferences. |
48 */ | 48 */ |
49 static DataFileReader *createReader(QString path, | 49 static DataFileReader *createReader(QString path, |
50 MIDIFileImportPreferenceAcquirer *, | 50 MIDIFileImportPreferenceAcquirer *, |
51 sv_samplerate_t mainModelSampleRate); | 51 sv_samplerate_t mainModelSampleRate); |
52 | 52 |
53 /** | 53 /** |
54 * Read the given path, if a suitable reader is available. | 54 * Read the given path, if a suitable reader is available. |
55 * Return NULL if no reader succeeded in reading this file. | 55 * Return NULL if no reader succeeded in reading this file. |
56 * | 56 * |
81 | 81 |
82 protected: | 82 protected: |
83 static DataFileReader *createReader(QString path, bool csv, | 83 static DataFileReader *createReader(QString path, bool csv, |
84 MIDIFileImportPreferenceAcquirer *, | 84 MIDIFileImportPreferenceAcquirer *, |
85 CSVFormat format, | 85 CSVFormat format, |
86 sv_samplerate_t mainModelSampleRate); | 86 sv_samplerate_t mainModelSampleRate); |
87 }; | 87 }; |
88 | 88 |
89 #endif | 89 #endif |
90 | 90 |