]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/new-beaming.hh
c4c0778b42dcd34bde32c26ef3e436c4cccc761c
[lilypond.git] / lily / include / new-beaming.hh
1 /*   
2   new-beaming.hh -- declare New_beaming.hh
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef NEW_BEAMING_HH
11 #define NEW_BEAMING_HH
12
13 #include "parray.hh"
14 #include "drul-array.hh"
15 #include "moment.hh"
16
17 struct Beaming_info
18 {
19   Moment start_mom_;
20   Drul_array<int> beams_i_drul_;
21
22   Beaming_info (Moment, int);
23   int count  (Direction d);
24   Beaming_info ();
25 };
26
27 struct Beaming_info_list
28 {
29   Array<Beaming_info> infos_;
30
31   int beam_extend_count (Direction) const;
32   int min_denominator_index () const;
33   void beamify ();
34   void add_stem (Moment d, int beams);
35 };
36
37
38 #endif /* NEW_BEAMING_HH */
39