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) 2008--2015 Han-Wen Nienhuys <hanwen@lilypond.org> | 4 Copyright (C) 2008--2015 Han-Wen Nienhuys <hanwen@lilypond.org> |
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 15 matching lines...) Expand all Loading... |
26 #include "self-alignment-interface.hh" | 26 #include "self-alignment-interface.hh" |
27 #include "spanner.hh" | 27 #include "spanner.hh" |
28 #include "stream-event.hh" | 28 #include "stream-event.hh" |
29 #include "text-interface.hh" | 29 #include "text-interface.hh" |
30 | 30 |
31 #include "translator.icc" | 31 #include "translator.icc" |
32 | 32 |
33 class Dynamic_engraver : public Engraver | 33 class Dynamic_engraver : public Engraver |
34 { | 34 { |
35 TRANSLATOR_DECLARATIONS (Dynamic_engraver); | 35 TRANSLATOR_DECLARATIONS (Dynamic_engraver); |
36 DECLARE_ACKNOWLEDGER (note_column); | 36 void acknowledge_note_column (Grob_info); |
37 DECLARE_TRANSLATOR_LISTENER (absolute_dynamic); | 37 void listen_absolute_dynamic (Stream_event *); |
38 DECLARE_TRANSLATOR_LISTENER (span_dynamic); | 38 void listen_span_dynamic (Stream_event *); |
39 DECLARE_TRANSLATOR_LISTENER (break_span); | 39 void listen_break_span (Stream_event *); |
40 | 40 |
41 protected: | 41 protected: |
42 virtual void process_music (); | 42 virtual void process_music (); |
43 virtual void stop_translation_timestep (); | 43 virtual void stop_translation_timestep (); |
44 virtual void finalize (); | 44 virtual void finalize (); |
45 | 45 |
46 private: | 46 private: |
47 SCM get_property_setting (Stream_event *evt, char const *evprop, | 47 SCM get_property_setting (Stream_event *evt, char const *evprop, |
48 char const *ctxprop); | 48 char const *ctxprop); |
49 string get_spanner_type (Stream_event *ev); | 49 string get_spanner_type (Stream_event *ev); |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 /* read */ | 296 /* read */ |
297 "crescendoSpanner " | 297 "crescendoSpanner " |
298 "crescendoText " | 298 "crescendoText " |
299 "currentMusicalColumn " | 299 "currentMusicalColumn " |
300 "decrescendoSpanner " | 300 "decrescendoSpanner " |
301 "decrescendoText ", | 301 "decrescendoText ", |
302 | 302 |
303 /* write */ | 303 /* write */ |
304 "" | 304 "" |
305 ); | 305 ); |
OLD | NEW |