]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/engraver-group.hh
* Documentation/user/examples.itely (Piano templates):
[lilypond.git] / lily / include / engraver-group.hh
1 /*
2   engraver-group.hh -- declare Engraver_group
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #ifndef ENGRAVER_GROUP_HH
10 #define ENGRAVER_GROUP_HH
11
12 #include "engraver.hh"
13 #include "translator-group.hh"
14
15 class Engraver_group : public virtual Translator_group
16 {
17 protected:
18   Array<Grob_info> announce_infos_;
19   SCM acknowledge_hash_table_;
20 public:
21   VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Engraver_group);
22   Engraver_group ();
23   virtual void derived_mark () const;
24   void do_announces ();
25   virtual void announce_grob (Grob_info);
26   int pending_grob_count () const;
27 private:
28   virtual void acknowledge_grobs ();
29 };
30
31 typedef void (Engraver:: *Engraver_method) (void);
32
33 void engraver_each (SCM list, Engraver_method method);
34
35 #endif /* ENGRAVERGROUP_HH */
36
37