X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrackattachment.h;fp=source%2Flibr2c2%2Ftrackattachment.h;h=1572f619db1ede100ea9cfa8e22d4298ba9a2edc;hb=cb4dfc37dd2cd9e02de7f022fd7f8a1fc8e5ee3c;hp=d02a443d823a6e77a123f7a56246c453669985fa;hpb=fafc91bc79152890e5c2f43f29811cb10a3a7ecb;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);