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 Jan Nieuwenhuizen <janneke@gnu.org> | 5 Jan Nieuwenhuizen <janneke@gnu.org> |
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 Item *make_rest (Stream_event *); | 69 Item *make_rest (Stream_event *); |
70 | 70 |
71 public: | 71 public: |
72 TRANSLATOR_DECLARATIONS (Completion_rest_engraver); | 72 TRANSLATOR_DECLARATIONS (Completion_rest_engraver); |
73 | 73 |
74 protected: | 74 protected: |
75 virtual void initialize (); | 75 virtual void initialize (); |
76 void start_translation_timestep (); | 76 void start_translation_timestep (); |
77 void process_music (); | 77 void process_music (); |
78 void stop_translation_timestep (); | 78 void stop_translation_timestep (); |
79 DECLARE_TRANSLATOR_LISTENER (rest); | 79 void listen_rest (Stream_event *); |
80 }; | 80 }; |
81 | 81 |
82 void | 82 void |
83 Completion_rest_engraver::initialize () | 83 Completion_rest_engraver::initialize () |
84 { | 84 { |
85 is_first_ = false; | 85 is_first_ = false; |
86 } | 86 } |
87 | 87 |
88 void | 88 void |
89 Completion_rest_engraver::listen_rest (Stream_event *ev) | 89 Completion_rest_engraver::listen_rest (Stream_event *ev) |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 /* read */ | 274 /* read */ |
275 "completionFactor " | 275 "completionFactor " |
276 "completionUnit " | 276 "completionUnit " |
277 "middleCPosition " | 277 "middleCPosition " |
278 "measurePosition " | 278 "measurePosition " |
279 "measureLength ", | 279 "measureLength ", |
280 | 280 |
281 /* write */ | 281 /* write */ |
282 "restCompletionBusy " | 282 "restCompletionBusy " |
283 ); | 283 ); |
OLD | NEW |