2 key-engraver.hh -- declare Key_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "engraver.hh"
15 #include "musical-pitch.hh"
18 Make the key signature.
20 class Key_engraver : public Engraver {
22 void read_req (Key_change_req const * r);
27 VIRTUAL_COPY_CONS(Translator);
30 TODO: move these into properties.
33 Key_change_req * keyreq_l_;
35 Array<Musical_pitch> accidental_idx_arr_;
36 Array<Musical_pitch> old_accidental_idx_arr_;
39 bool key_changed_b() const;
42 virtual bool do_try_music (Music *req_l);
43 virtual void do_process_music();
44 virtual void do_pre_move_processing();
45 virtual void do_post_move_processing();
46 virtual void acknowledge_element (Score_element_info);