2 moment.hh -- part of GNU LilyPond
4 (c) 1996--1998 Han-Wen Nienhuys
11 #include "lily-proto.hh"
14 /// full info on where we are
15 struct Time_description {
18 /// found an error so far?
21 /// if true, no bars needed, no reduction of whole_in_measure
24 /// current measure info
25 Moment whole_per_measure_;
28 Moment whole_in_measure_;
30 /// how long is one beat?
36 void set_cadenza (bool);
37 Moment when_mom () const { return when_; }
41 bool allow_time_signature_change_b();
44 void setpartial (Moment p);
45 String try_set_partial_str (Moment) const;
46 Moment barleft() const;
47 Moment next_bar_moment() const;
48 void set_time_signature (int,int);
49 static int compare (const Time_description&, const Time_description&);
55 INSTANTIATE_COMPARE(Time_description&,Time_description::compare);
59 process_timing_reqs (Time_description &time_,
60 Rhythmic_grouping *default_grouping,
61 Array<Timing_req*> const& timing_req_l_arr);
62 #endif // Time_description_HH