2 duration.hh -- declare Duration
4 source file of the LilyPond music typesetter
6 (c) 1997--2000 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.
47 INSTANTIATE_COMPARE(Duration, Duration::compare);
48 Duration*unsmob_duration(SCM);
49 // int compare (Array<Duration>*, Array<Duration>*);