2 duration.hh -- declare Duration
4 source file of the LilyPond music typesetter
6 (c) 1997--2002 Jan Nieuwenhuizen <janneke@gnu.org>
13 #include "flower-proto.hh"
27 Duration compressed (Rational) const;
28 Rational length_mom () const ;
31 int duration_log ()const;
32 int dot_count () const;
34 static int compare (Duration const&, Duration const&);
36 SCM smobbed_copy () const;
37 DECLARE_SCHEME_CALLBACK (less_p, (SCM a, SCM b));
38 DECLARE_SIMPLE_SMOBS (Duration,);
41 /// Logarithm of the base duration.
49 INSTANTIATE_COMPARE (Duration, Duration::compare);
50 DECLARE_UNSMOB(Duration,duration);