]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/axis-group-engraver.hh
patch::: 1.3.37.jcn1
[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) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef AXIS_GROUP_ENGRAVER_HH
11 #define AXIS_GROUP_ENGRAVER_HH
12
13
14 #include "engraver.hh"
15
16 /**
17    Put stuff in a Spanner with an Axis_group_interface.
18    Use as last element of a context. 
19  */
20 class Axis_group_engraver : public Engraver
21 {
22 protected:
23   Spanner *staffline_p_;
24   Link_array<Score_element> elts_;
25
26   virtual void do_creation_processing();
27   virtual void do_removal_processing();
28   virtual void acknowledge_element (Score_element_info);
29   virtual void process_acknowledged ();
30   virtual Spanner* get_spanner_p () const;
31 public:
32   VIRTUAL_COPY_CONS(Translator);
33   
34   Axis_group_engraver ();
35 };
36
37 #endif /* AXIS_GROUP_ENGRAVER_HH */
38