]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-elem-info.hh
release: 0.0.42.pre3
[lilypond.git] / lily / include / staff-elem-info.hh
1 /*
2   staff-elem-info.hh -- declare Staff_elem_info
3
4   source file of the LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef STAFFELEMINFO_HH
11 #define STAFFELEMINFO_HH
12
13 #include "proto.hh"
14 #include "varray.hh"
15
16 /// data container.
17 struct Staff_elem_info {
18     Staff_elem * elem_p_;
19     Request*req_l_;
20     Voice const * voice_l_;
21     Array<Request_register*> origin_reg_l_arr_;
22
23     /* *** */
24     Staff_elem_info(Staff_elem*, Request*);
25     Staff_elem_info();
26 };
27
28 struct Staff_info {
29     int *c0_position_i_;
30     Staff_walker *walk_l_;
31     Time_description const *time_c_l_;
32     Rhythmic_grouping const *rhythmic_c_l_;
33     bool break_allowed_b_;
34 };
35
36
37 struct Features {
38     bool initialiser_b_;
39     int direction_i_;
40     
41     Features();
42     static Features dir(int);
43 };
44 #endif // STAFFELEMINFO_HH