1 #ifndef LIBR2C2_TRACKATTACHMENT_H_
2 #define LIBR2C2_TRACKATTACHMENT_H_
9 class TrackAttachment: public Object, public sigc::trackable
15 TrackAttachment(Layout &);
17 virtual ~TrackAttachment();
19 const TrackIter &get_track_iter() const { return track; }
20 Track *get_track() const { return track.track(); }
21 unsigned get_entry() const { return track.entry(); }
22 float get_offset() const { return offset; }
24 void attach_to(const TrackIter &, float);
25 void attach_to_closest(float);
26 float find_offset(const TrackIter &, const Vector &);
29 virtual Track *get_parent() const { return track.track(); }
32 void object_removed(Object &);