]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/axis-group-engraver.hh
73388b8d2d86444480d3b4cab2843e72d573ce5a
[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--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef AXIS_GROUP_ENGRAVER_HH
10 #define AXIS_GROUP_ENGRAVER_HH
11
12 #include "engraver.hh"
13
14 /**
15    Put stuff in a Spanner with an Axis_group_interface.
16    Use as last element of a context.
17 */
18 class Axis_group_engraver : public Engraver
19 {
20 protected:
21   Spanner *staffline_;
22   vector<Grob*> elts_;
23   void process_music ();
24   virtual void finalize ();
25   DECLARE_ACKNOWLEDGER (grob);
26   void process_acknowledged ();
27   virtual Spanner *get_spanner ();
28   virtual void add_element (Grob *);
29 public:
30   TRANSLATOR_DECLARATIONS (Axis_group_engraver);
31 };
32 #endif /* AXIS_GROUP_ENGRAVER_HH */