X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lib%2Finclude%2Fduration.hh;h=28580b63af32f93c5a0a56211c89a3b107700dbb;hb=3a0e9efb7f067e5b334ba0596b95e15d96d7cc49;hp=a4f5cdc71c5d034c00f155e65008a1a2db31052b;hpb=8002fa018c81f70585c25232247c6dcba7f5cba0;p=lilypond.git diff --git a/lib/include/duration.hh b/lib/include/duration.hh index a4f5cdc71c..28580b63af 100644 --- a/lib/include/duration.hh +++ b/lib/include/duration.hh @@ -13,7 +13,7 @@ #define DURATION_HH #include "fproto.hh" -#include "moment.hh" +#include "rational.hh" #include "plet.hh" /** @@ -27,11 +27,11 @@ struct Duration { bool plet_b (); String str () const; void set_plet (int,int ); - void compress (Moment); + void compress (Rational); static bool duration_type_b (int t); void set_ticks (int ticks_i ); - Moment length_mom () const ; + Rational length_mom () const ; static int division_1_i_s; /// Logarithm of the base duration.