LEFT | RIGHT |
(no file at all) | |
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) 2006--2019 Han-Wen Nienhuys <hanwen@lilypond.org> | 4 Copyright (C) 2006--2019 Han-Wen Nienhuys <hanwen@lilypond.org> |
5 | 5 |
6 | 6 |
7 LilyPond is free software: you can redistribute it and/or modify | 7 LilyPond is free software: you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation, either version 3 of the License, or | 9 the Free Software Foundation, either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 17 matching lines...) Expand all Loading... |
28 { | 28 { |
29 | 29 |
30 TRANSLATOR_DECLARATIONS (Instrument_switch_engraver); | 30 TRANSLATOR_DECLARATIONS (Instrument_switch_engraver); |
31 protected: | 31 protected: |
32 Grob *text_; | 32 Grob *text_; |
33 SCM cue_name_; | 33 SCM cue_name_; |
34 | 34 |
35 void stop_translation_time_step (); | 35 void stop_translation_time_step (); |
36 void process_music (); | 36 void process_music (); |
37 | 37 |
38 virtual void derived_mark () const; | 38 void derived_mark () const override; |
39 }; | 39 }; |
40 | 40 |
41 void | 41 void |
42 Instrument_switch_engraver::derived_mark () const | 42 Instrument_switch_engraver::derived_mark () const |
43 { | 43 { |
44 scm_gc_mark (cue_name_); | 44 scm_gc_mark (cue_name_); |
45 } | 45 } |
46 | 46 |
47 Instrument_switch_engraver::Instrument_switch_engraver (Context *c) | 47 Instrument_switch_engraver::Instrument_switch_engraver (Context *c) |
48 : Engraver (c) | 48 : Engraver (c) |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 /* create */ | 89 /* create */ |
90 "InstrumentSwitch ", | 90 "InstrumentSwitch ", |
91 | 91 |
92 /* read */ | 92 /* read */ |
93 "instrumentCueName ", | 93 "instrumentCueName ", |
94 | 94 |
95 /* write */ | 95 /* write */ |
96 "" | 96 "" |
97 ); | 97 ); |
LEFT | RIGHT |