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) 2005--2015 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2005--2015 Han-Wen Nienhuys <hanwen@xs4all.nl> |
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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #include "translator.icc" | 26 #include "translator.icc" |
27 | 27 |
28 class Laissez_vibrer_engraver : public Engraver | 28 class Laissez_vibrer_engraver : public Engraver |
29 { | 29 { |
30 Stream_event *event_; | 30 Stream_event *event_; |
31 Grob *lv_column_; | 31 Grob *lv_column_; |
32 vector<Grob *> lv_ties_; | 32 vector<Grob *> lv_ties_; |
33 | 33 |
34 void stop_translation_timestep (); | 34 void stop_translation_timestep (); |
35 DECLARE_ACKNOWLEDGER (note_head); | 35 void acknowledge_note_head (Grob_info); |
36 protected: | 36 protected: |
37 DECLARE_TRANSLATOR_LISTENER (laissez_vibrer); | 37 void listen_laissez_vibrer (Stream_event *); |
38 public: | 38 public: |
39 TRANSLATOR_DECLARATIONS (Laissez_vibrer_engraver); | 39 TRANSLATOR_DECLARATIONS (Laissez_vibrer_engraver); |
40 }; | 40 }; |
41 | 41 |
42 Laissez_vibrer_engraver::Laissez_vibrer_engraver () | 42 Laissez_vibrer_engraver::Laissez_vibrer_engraver () |
43 { | 43 { |
44 event_ = 0; | 44 event_ = 0; |
45 lv_column_ = 0; | 45 lv_column_ = 0; |
46 } | 46 } |
47 | 47 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 /* create */ | 117 /* create */ |
118 "LaissezVibrerTie " | 118 "LaissezVibrerTie " |
119 "LaissezVibrerTieColumn ", | 119 "LaissezVibrerTieColumn ", |
120 | 120 |
121 /* read */ | 121 /* read */ |
122 "", | 122 "", |
123 | 123 |
124 /* write */ | 124 /* write */ |
125 "" | 125 "" |
126 ); | 126 ); |
OLD | NEW |