OLD | NEW |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 Item *cancellation_; | 39 Item *cancellation_; |
40 public: | 40 public: |
41 TRANSLATOR_DECLARATIONS (Key_engraver); | 41 TRANSLATOR_DECLARATIONS (Key_engraver); |
42 | 42 |
43 protected: | 43 protected: |
44 virtual void initialize (); | 44 virtual void initialize (); |
45 virtual void finalize (); | 45 virtual void finalize (); |
46 void stop_translation_timestep (); | 46 void stop_translation_timestep (); |
47 void process_music (); | 47 void process_music (); |
48 | 48 |
49 DECLARE_TRANSLATOR_LISTENER (key_change); | 49 void listen_key_change (Stream_event *); |
50 DECLARE_ACKNOWLEDGER (clef); | 50 void acknowledge_clef (Grob_info); |
51 DECLARE_ACKNOWLEDGER (bar_line); | 51 void acknowledge_bar_line (Grob_info); |
52 }; | 52 }; |
53 | 53 |
54 void | 54 void |
55 Key_engraver::finalize () | 55 Key_engraver::finalize () |
56 { | 56 { |
57 } | 57 } |
58 | 58 |
59 Key_engraver::Key_engraver () | 59 Key_engraver::Key_engraver () |
60 { | 60 { |
61 key_event_ = 0; | 61 key_event_ = 0; |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 "keyAlterations " | 236 "keyAlterations " |
237 "lastKeyAlterations " | 237 "lastKeyAlterations " |
238 "printKeyCancellation " | 238 "printKeyCancellation " |
239 "middleCClefPosition ", | 239 "middleCClefPosition ", |
240 | 240 |
241 /* write */ | 241 /* write */ |
242 "keyAlterations " | 242 "keyAlterations " |
243 "lastKeyAlterations " | 243 "lastKeyAlterations " |
244 "tonic " | 244 "tonic " |
245 ); | 245 ); |
OLD | NEW |