comparison base/Clipboard.h @ 370:e73a1a1e8f24

* more reference frame records
author Chris Cannam
date Mon, 04 Feb 2008 16:48:52 +0000
parents 007b01b971a6
children afeb580b1b57
comparison
equal deleted inserted replaced
369:007b01b971a6 370:e73a1a1e8f24
45 QString getLabel() const; 45 QString getLabel() const;
46 46
47 bool haveLevel() const; 47 bool haveLevel() const;
48 float getLevel() const; 48 float getLevel() const;
49 49
50 bool referenceFramesDiffer() const; 50 bool haveReferenceFrame() const;
51 bool referenceFrameDiffers() const; // from point frame
52
51 long getReferenceFrame() const; 53 long getReferenceFrame() const;
52 void setReferenceFrame(long); 54 void setReferenceFrame(long);
53 55
54 private: 56 private:
55 bool m_haveFrame; 57 bool m_haveFrame;
60 size_t m_duration; 62 size_t m_duration;
61 bool m_haveLabel; 63 bool m_haveLabel;
62 QString m_label; 64 QString m_label;
63 bool m_haveLevel; 65 bool m_haveLevel;
64 float m_level; 66 float m_level;
65 bool m_referenceFramesDiffer; 67 bool m_haveReferenceFrame;
66 long m_referenceFrame; 68 long m_referenceFrame;
67 }; 69 };
68 70
69 Clipboard(); 71 Clipboard();
70 ~Clipboard(); 72 ~Clipboard();
75 bool empty() const; 77 bool empty() const;
76 const PointList &getPoints() const; 78 const PointList &getPoints() const;
77 void setPoints(const PointList &points); 79 void setPoints(const PointList &points);
78 void addPoint(const Point &point); 80 void addPoint(const Point &point);
79 81
82 bool haveReferenceFrames() const;
80 bool referenceFramesDiffer() const; 83 bool referenceFramesDiffer() const;
81 84
82 protected: 85 protected:
83 PointList m_points; 86 PointList m_points;
84 }; 87 };