X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrackattachment.h;h=1572f619db1ede100ea9cfa8e22d4298ba9a2edc;hb=c4daf1cc6b53cae34e46d4125a993ceed500de1a;hp=d02a443d823a6e77a123f7a56246c453669985fa;hpb=e3e3a940c75dcad126d5cf08f0802efdab914568;p=r2c2.git diff --git a/source/libr2c2/trackattachment.h b/source/libr2c2/trackattachment.h index d02a443..1572f61 100644 --- a/source/libr2c2/trackattachment.h +++ b/source/libr2c2/trackattachment.h @@ -2,6 +2,7 @@ #define LIBR2C2_TRACKATTACHMENT_H_ #include "object.h" +#include "track.h" #include "trackiter.h" namespace R2C2 { @@ -20,6 +21,7 @@ public: Track *get_track() const { return track.track(); } unsigned get_entry() const { return track.entry(); } float get_offset() const { return offset; } + float get_offset_from_endpoint(unsigned) const; protected: void attach_to(const TrackIter &, float); void attach_to_closest(float);