diff data/fileio/CSVFileReader.h @ 631:3a5ee4b6c9ad

* Complete the overhaul of CSV file import; now you can pick the purpose for each column in the file, and SV should do the rest. The most significant practical improvement here is that we can now handle files in which time and duration do not necessarily appear in known columns.
author Chris Cannam
date Mon, 19 Jul 2010 17:08:56 +0000
parents 183ee2a55fc7
children 59e7fe1b1003
line wrap: on
line diff
--- a/data/fileio/CSVFileReader.h	Fri Jul 16 16:51:39 2010 +0000
+++ b/data/fileio/CSVFileReader.h	Mon Jul 19 17:08:56 2010 +0000
@@ -39,7 +39,11 @@
     CSVFormat m_format;
     QFile *m_file;
     QString m_error;
+    mutable int m_warnings;
     size_t m_mainModelSampleRate;
+
+    size_t convertTimeValue(QString, int lineno, size_t sampleRate,
+                            size_t windowSize) const;
 };