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--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--2019 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 24 matching lines...) Expand all Loading... |
35 Spanner *span_; | 35 Spanner *span_; |
36 Spanner *finished_span_; | 36 Spanner *finished_span_; |
37 bool first_start_; | 37 bool first_start_; |
38 | 38 |
39 protected: | 39 protected: |
40 virtual void start_spanner (); | 40 virtual void start_spanner (); |
41 virtual void stop_spanner (); | 41 virtual void stop_spanner (); |
42 | 42 |
43 void stop_translation_timestep (); | 43 void stop_translation_timestep (); |
44 virtual ~Staff_symbol_engraver (); | 44 virtual ~Staff_symbol_engraver (); |
45 void acknowledge_grob (Grob_info); | 45 void acknowledge_grob (Grob_info) override; |
46 void listen_staff_span (Stream_event *); | 46 void listen_staff_span (Stream_event *); |
47 virtual void finalize (); | 47 void finalize () override; |
48 void process_music (); | 48 void process_music (); |
49 virtual void derived_mark () const; | 49 void derived_mark () const override; |
50 }; | 50 }; |
51 | 51 |
52 void | 52 void |
53 Staff_symbol_engraver::derived_mark () const | 53 Staff_symbol_engraver::derived_mark () const |
54 { | 54 { |
55 for (LEFT_and_RIGHT (d)) | 55 for (LEFT_and_RIGHT (d)) |
56 { | 56 { |
57 if (span_events_[d]) | 57 if (span_events_[d]) |
58 scm_gc_mark (span_events_[d]->self_scm ()); | 58 scm_gc_mark (span_events_[d]->self_scm ()); |
59 } | 59 } |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 /* create */ | 178 /* create */ |
179 "StaffSymbol ", | 179 "StaffSymbol ", |
180 | 180 |
181 /* read */ | 181 /* read */ |
182 "", | 182 "", |
183 | 183 |
184 /* write */ | 184 /* write */ |
185 "" | 185 "" |
186 ); | 186 ); |
OLD | NEW |