X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fclock.h;h=186e0baab0181b6dfa7947f53ca82ce24a40fc36;hb=f6f08a66299ab4ac2bd3fca29a528bd609a9a672;hp=1c00158b5f4b65ea997cb195e06b05621d74ce19;hpb=3f50c821de14b8deab2374810bf974908e6681e8;p=r2c2.git diff --git a/source/libr2c2/clock.h b/source/libr2c2/clock.h index 1c00158..186e0ba 100644 --- a/source/libr2c2/clock.h +++ b/source/libr2c2/clock.h @@ -19,6 +19,8 @@ public: Clock(); void set_rate(float); + float get_rate() const { return rate; } + void set_current_time(const Msp::Time::TimeDelta &); const Msp::Time::TimeDelta &get_current_time() const { return current_time; } void tick(const Msp::Time::TimeDelta &); };