2 duration.hh -- declare Duration
4 source file of the LilyPond music typesetter
6 (c) 1997--2001 Jan Nieuwenhuizen <janneke@gnu.org>
13 #include "flower-proto.hh"
24 void set_plet (int,int );
25 Duration compressed (Rational) const;
26 Rational length_mom () const ;
27 static int compare (Duration const&, Duration const&);
29 SCM smobbed_copy () const;
30 DECLARE_SCHEME_CALLBACK (less_p, (SCM a, SCM b));
31 DECLARE_SIMPLE_SMOBS (Duration,);
34 int duration_log ()const;
35 int dot_count () const;
38 /// Logarithm of the base duration.
46 INSTANTIATE_COMPARE (Duration, Duration::compare);
47 DECLARE_UNSMOB(Duration,duration);
48 // int compare (Array<Duration>*, Array<Duration>*);