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) 2001--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2001--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 12 matching lines...) Expand all Loading... |
23 #include "music.hh" | 23 #include "music.hh" |
24 #include "simple-music-iterator.hh" | 24 #include "simple-music-iterator.hh" |
25 | 25 |
26 /* | 26 /* |
27 Check bar checks. We do this outside the engravers so that you can | 27 Check bar checks. We do this outside the engravers so that you can |
28 race through the score using skipTypesetting to correct durations. | 28 race through the score using skipTypesetting to correct durations. |
29 */ | 29 */ |
30 class Bar_check_iterator : Simple_music_iterator | 30 class Bar_check_iterator : Simple_music_iterator |
31 { | 31 { |
32 public: | 32 public: |
33 virtual void process (Moment); | 33 void process (Moment) override; |
34 Bar_check_iterator (); | 34 Bar_check_iterator (); |
35 DECLARE_SCHEME_CALLBACK (constructor, ()); | 35 DECLARE_SCHEME_CALLBACK (constructor, ()); |
36 }; | 36 }; |
37 | 37 |
38 IMPLEMENT_CTOR_CALLBACK (Bar_check_iterator); | 38 IMPLEMENT_CTOR_CALLBACK (Bar_check_iterator); |
39 | 39 |
40 Bar_check_iterator::Bar_check_iterator () | 40 Bar_check_iterator::Bar_check_iterator () |
41 { | 41 { |
42 } | 42 } |
43 | 43 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 else | 79 else |
80 tr->set_property ("barCheckLastFail", mp); | 80 tr->set_property ("barCheckLastFail", mp); |
81 } | 81 } |
82 | 82 |
83 if (warn) | 83 if (warn) |
84 get_music ()->origin ()->warning (_f ("barcheck failed at: %s", | 84 get_music ()->origin ()->warning (_f ("barcheck failed at: %s", |
85 where->to_string ())); | 85 where->to_string ())); |
86 } | 86 } |
87 } | 87 } |
88 } | 88 } |
LEFT | RIGHT |