16 #ifndef _DATA_FILE_READER_FACTORY_H_ 17 #define _DATA_FILE_READER_FACTORY_H_ 51 int mainModelSampleRate);
63 int mainModelSampleRate);
72 int mainModelSampleRate);
80 int mainModelSampleRate);
86 int mainModelSampleRate);
static QString getKnownExtensions()
Return the file extensions that we have data file readers for, in a format suitable for use with QFil...
static Model * loadCSV(QString path, CSVFormat format, int mainModelSampleRate)
Read the given path using the CSV reader with the given format.
Model is the base class for all data models that represent any sort of data on a time scale based on ...
static Model * load(QString path, MIDIFileImportPreferenceAcquirer *acquirer, int mainModelSampleRate)
Read the given path, if a suitable reader is available.
static Model * loadNonCSV(QString path, MIDIFileImportPreferenceAcquirer *acquirer, int mainModelSampleRate)
Read the given path, if a suitable reader is available.
static DataFileReader * createReader(QString path, MIDIFileImportPreferenceAcquirer *, int mainModelSampleRate)
Return a data file reader initialised to the file at the given path, or NULL if no suitable reader fo...