]> git.donarmstrong.com Git - lilypond.git/blob - lily/staff-info.cc
0857fb9b55742f87610232700313de51cbef7f5f
[lilypond.git] / lily / staff-info.cc
1 /*
2   staff-info.cc -- implement Staff_info
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9 #include "proto.hh"
10 #include "plist.hh"
11 #include "staff-info.hh"
12 #include "score-column.hh"
13
14 Score*
15 Staff_info::score_l()
16 {
17   return score_l_;
18 }
19
20 Staff_info::Staff_info()
21 {
22   score_l_ =0;
23   c0_position_i_l_ = 0;
24   time_C_ = 0;
25   rhythmic_C_ =0;
26   break_allowed_b_ = 0;
27 }
28
29 Score_column*
30 Staff_info::musical_l()
31 {
32   return musical_l_;
33 }
34
35 Score_column*
36 Staff_info::command_l()
37 {
38   return command_l_;
39 }
40
41 PCol*
42 Staff_info::command_pcol_l()
43 {
44   return command_l();
45 }
46
47 PCol*
48 Staff_info::musical_pcol_l()
49 {
50   return musical_l();
51 }
52
53 Moment
54 Staff_info::when()
55 {
56   return command_l()->when ();
57 }
58