]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/axis-group-engraver.hh
* lily/include/translator.icc: new file.
[lilypond.git] / lily / include / axis-group-engraver.hh
1 /*
2   axis-group-engraver.hh -- declare Axis_group_engraver
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
7
8 */
9
10 #ifndef AXIS_GROUP_ENGRAVER_HH
11 #define AXIS_GROUP_ENGRAVER_HH
12
13 #include "engraver.hh"
14
15 /**
16    Put stuff in a Spanner with an Axis_group_interface.
17    Use as last element of a context.
18 */
19 class Axis_group_engraver : public Engraver
20 {
21 protected:
22   Spanner *staffline_;
23   Link_array<Grob> elts_;
24   PRECOMPUTED_VIRTUAL void process_music ();
25   virtual void finalize ();
26   virtual void acknowledge_grob (Grob_info);
27   PRECOMPUTED_VIRTUAL void process_acknowledged ();
28   virtual Spanner *get_spanner ();
29   virtual void add_element (Grob *);
30 public:
31   TRANSLATOR_DECLARATIONS (Axis_group_engraver);
32 };
33 #endif /* AXIS_GROUP_ENGRAVER_HH */