Mercurial > hg > svcore
diff data/model/RegionModel.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 | 080d8bdd8762 |
children | e22b6e89a7f7 |
line wrap: on
line diff
--- a/data/model/RegionModel.h Fri Jul 16 16:51:39 2010 +0000 +++ b/data/model/RegionModel.h Mon Jul 19 17:08:56 2010 +0000 @@ -36,6 +36,7 @@ struct RegionRec { public: + RegionRec() : frame(0), value(0.f), duration(0) { } RegionRec(long _frame) : frame(_frame), value(0.0f), duration(0) { } RegionRec(long _frame, float _value, size_t _duration, QString _label) : frame(_frame), value(_value), duration(_duration), label(_label) { }