lilypond-0.0.38
[lilypond.git] / hdr / key-reg.hh
blobd8a96d066e8aa49df05c10bd51ae1faf634eeeb0
1 /*
2 key-reg.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_requests();
25 virtual void pre_move_processing();
26 virtual void post_move_processing();
27 virtual void acknowledge_element(Staff_elem_info);
28 Key_register();
29 NAME_MEMBERS(Key_register);
30 private:
32 void read_req(Key_change_req * r);
35 #endif // KEYREG_HH