lilypond-0.1.57
[lilypond.git] / hdr / keyreg.hh
blob6cf6a3724275bcf2d5e81fa12da661bf7ce17a3d
1 /*
2 keyreg.hh -- declare Key_register
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
10 #ifndef KEYREG_HH
11 #define KEYREG_HH
13 #include "register.hh"
14 #include "key.hh"
16 struct Key_register : Request_register {
17 Key key_;
18 Key_change_req * keyreq_l_;
19 Key_item * kit_p_;
20 Array<int> accidental_idx_arr_;
21 bool default_key_b_;
23 virtual bool try_request(Request *req_l);
24 virtual void process_request();
25 virtual void do_pre_move_process();
26 virtual void do_post_move_process();
27 virtual void acknowledge_element(Staff_elem_info);
28 Key_register(Complex_walker*);
29 private:
31 void read_req(Key_change_req * r);
34 #endif // KEYREG_HH