Mercurial > hg > svcore
comparison data/model/SparseTimeValueModel.h @ 1110:1517d4c60e88
Fix a number of warnings in the 32-bit build
author | Chris Cannam |
---|---|
date | Wed, 01 Jul 2015 15:53:54 +0100 |
parents | 57633d605547 |
children | 48e9f538e6e9 |
comparison
equal
deleted
inserted
replaced
1088:5fab8e4f5f19 | 1110:1517d4c60e88 |
---|---|
27 */ | 27 */ |
28 | 28 |
29 struct TimeValuePoint | 29 struct TimeValuePoint |
30 { | 30 { |
31 public: | 31 public: |
32 TimeValuePoint(long _frame) : frame(_frame), value(0.0f) { } | 32 TimeValuePoint(sv_frame_t _frame) : frame(_frame), value(0.0f) { } |
33 TimeValuePoint(long _frame, float _value, QString _label) : | 33 TimeValuePoint(sv_frame_t _frame, float _value, QString _label) : |
34 frame(_frame), value(_value), label(_label) { } | 34 frame(_frame), value(_value), label(_label) { } |
35 | 35 |
36 int getDimensions() const { return 2; } | 36 int getDimensions() const { return 2; } |
37 | 37 |
38 long frame; | 38 sv_frame_t frame; |
39 float value; | 39 float value; |
40 QString label; | 40 QString label; |
41 | 41 |
42 QString getLabel() const { return label; } | 42 QString getLabel() const { return label; } |
43 | 43 |