]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-regs.hh
release: 0.0.46.jcn1
[lilypond.git] / lily / include / staff-regs.hh
1 /*
2   staff-regs.hh -- declare Staff_registers
3
4   source file of the LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef STAFF_REGS_HH
11 #define STAFF_REGS_HH
12
13 #include "register-group.hh"
14
15 /**
16   Registers which manage a Staff (one 5-line linestaff)
17  */
18 class Staff_registers : public Register_group_register {
19     int c0_position_i_;    
20     Input_register const *ireg_C_;
21     int base_position_i_;
22     Array<Voice_group_registers*> group_l_arr_;
23  
24 public:
25     
26     /* *************** */
27     NAME_MEMBERS(Staff_registers);
28     void change_group(Group_change_req * greq_l,
29                       Voice_registers *voice_regs_l,
30                       Voice_group_registers * old_group);
31     Voice_group_registers * get_group(String id);
32     void terminate_register(Request_register * reg);
33     virtual bool try_request(Request * r);
34     virtual Staff_info get_staff_info();
35     Staff_registers(Input_register const*);
36     virtual bool acceptable_request_b(Request*) const ;
37 };
38
39 #endif // STAFF_REGS_HH