]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/beaming.hh
patch::: 1.3.33.jcn3
[lilypond.git] / lily / include / beaming.hh
1 /*   
2   beaming.hh -- declare beaming.hh
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef BEAMING_HH
11 #define 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 /* BEAMING_HH */
39