2 This file is part of LilyPond, the GNU music typesetter.
4 Copyright (C) 1997--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
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
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 LilyPond is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef ENGRAVER_GROUP_HH
21 #define ENGRAVER_GROUP_HH
23 #include "engraver.hh"
24 #include "translator-group.hh"
26 class Engraver_group : public virtual Translator_group
29 vector<Grob_info> announce_infos_;
30 Drul_array<SCM> acknowledge_hash_table_drul_;
31 DECLARE_LISTENER (override);
32 DECLARE_LISTENER (revert);
34 VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Engraver_group);
37 virtual void derived_mark () const;
39 virtual void connect_to_context (Context *c);
40 virtual void disconnect_from_context ();
41 virtual void announce_grob (Grob_info);
42 int pending_grob_count () const;
44 virtual void acknowledge_grobs ();
47 typedef void (Engraver:: *Engraver_method) (void);
49 void engraver_each (SCM list, Engraver_method method);
51 #endif /* ENGRAVERGROUP_HH */