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--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--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 28 matching lines...) Expand all Loading... |
39 Preinit_Engraver_group (); | 39 Preinit_Engraver_group (); |
40 }; | 40 }; |
41 | 41 |
42 class Engraver_group : Preinit_Engraver_group, public Translator_group | 42 class Engraver_group : Preinit_Engraver_group, public Translator_group |
43 { | 43 { |
44 protected: | 44 protected: |
45 vector<Announce_grob_info> announce_infos_; | 45 vector<Announce_grob_info> announce_infos_; |
46 void override (SCM); | 46 void override (SCM); |
47 void revert (SCM); | 47 void revert (SCM); |
48 public: | 48 public: |
49 DECLARE_CLASSNAME (Engraver_group); | 49 OVERRIDE_CLASS_NAME (Engraver_group); |
50 Engraver_group (); | 50 Engraver_group (); |
51 virtual void derived_mark () const; | 51 void derived_mark () const override; |
52 void do_announces (); | 52 void do_announces (); |
53 virtual void connect_to_context (Context *c); | 53 void connect_to_context (Context *c) override; |
54 virtual void disconnect_from_context (); | 54 void disconnect_from_context () override; |
55 virtual void announce_grob (Grob_info, Direction start_end, | 55 virtual void announce_grob (Grob_info, Direction start_end, |
56 Context *reroute_context = 0); | 56 Context *reroute_context = 0); |
57 bool pending_grobs () const; | 57 bool pending_grobs () const; |
58 private: | 58 private: |
59 virtual void acknowledge_grobs (); | 59 virtual void acknowledge_grobs (); |
60 }; | 60 }; |
61 | 61 |
62 typedef void (Engraver:: *Engraver_method) (void); | 62 typedef void (Engraver:: *Engraver_method) (void); |
63 | 63 |
64 void engraver_each (SCM list, Engraver_method method); | 64 void engraver_each (SCM list, Engraver_method method); |
65 | 65 |
66 #endif /* ENGRAVERGROUP_HH */ | 66 #endif /* ENGRAVERGROUP_HH */ |
67 | 67 |
OLD | NEW |