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) 2006--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2006--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 Erik Sandberg <mandolaerik@gmail.com> | 5 Erik Sandberg <mandolaerik@gmail.com> |
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. |
11 | 11 |
12 LilyPond is distributed in the hope that it will be useful, | 12 LilyPond is distributed in the hope that it will be useful, |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 GNU General Public License for more details. | 15 GNU General Public License for more details. |
16 | 16 |
17 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
18 along with LilyPond. If not, see <http://www.gnu.org/licenses/>. | 18 along with LilyPond. If not, see <http://www.gnu.org/licenses/>. |
19 */ | 19 */ |
20 | 20 |
21 #ifndef EVENT_ITERATOR_HH | 21 #ifndef EVENT_ITERATOR_HH |
22 #define EVENT_ITERATOR_HH | 22 #define EVENT_ITERATOR_HH |
23 | 23 |
24 #include "simple-music-iterator.hh" | 24 #include "simple-music-iterator.hh" |
25 | 25 |
26 class Event_iterator : public Simple_music_iterator | 26 class Event_iterator : public Simple_music_iterator |
27 { | 27 { |
28 DECLARE_CLASSNAME (Event_iterator); | 28 OVERRIDE_CLASS_NAME (Event_iterator); |
29 | 29 |
30 public: | 30 public: |
31 DECLARE_SCHEME_CALLBACK (constructor, ()); | 31 DECLARE_SCHEME_CALLBACK (constructor, ()); |
32 Event_iterator (); | 32 Event_iterator (); |
33 Event_iterator (Event_iterator const &); | 33 Event_iterator (Event_iterator const &); |
34 virtual void construct_children (); | 34 void construct_children () override; |
35 | 35 |
36 protected: | 36 protected: |
37 virtual void process (Moment); | 37 void process (Moment) override; |
38 }; | 38 }; |
39 | 39 |
40 #endif // EVENT_ITERATOR_HH | 40 #endif // EVENT_ITERATOR_HH |
OLD | NEW |