summaryrefslogtreecommitdiff
path: root/lily/include/staff-info.hh
blob: 2fc4fd79265696b7a0351d4d0bb2594b0bdc787b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
  staff-info.hh -- declare Staff_info

  source file of the LilyPond music typesetter

  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
*/


#ifndef STAFF_INFO_HH
#define STAFF_INFO_HH

/// struct to pass staff info along a Request_register hierarchy.
struct Staff_info {
    int *c0_position_i_l_;
    Staff_walker *walk_l_;
    Staff_symbol*staff_sym_l_;
    
    /// when is now?
    Time_description const *time_C_;
    Rhythmic_grouping const *rhythmic_C_;

    ///
    bool break_allowed_b_;

    Moment when();
    Staff * staff_l();
    Score *score_l();
    PCol * command_pcol_l();
    PCol * musical_pcol_l();
    Staff_column *column_l();
    Score_column *musical_l();
    Score_column *command_l();
    Staff_info();
};

#endif // STAFF_INFO_HH