]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/axis-group-engraver.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / axis-group-engraver.hh
index 23d8793a212659e28a2f2142496fc03a2a6f1fcb..439db8634fa4fb39c03a21270857f0729d1589dd 100644 (file)
@@ -1,38 +1,32 @@
-/*   
+/*
   axis-group-engraver.hh -- declare Axis_group_engraver
-  
+
   source file of the GNU LilyPond music typesetter
-  
-  (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-  
- */
+
+  (c) 2005--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
 
 #ifndef AXIS_GROUP_ENGRAVER_HH
 #define AXIS_GROUP_ENGRAVER_HH
 
-
 #include "engraver.hh"
 
 /**
    Put stuff in a Spanner with an Axis_group_interface.
-   Use as last element of a context. 
- */
+   Use as last element of a context.
+*/
 class Axis_group_engraver : public Engraver
 {
 protected:
-  Spanner *staffline_p_;
-  Link_array<Score_element> elts_;
-
-  virtual void do_creation_processing();
-  virtual void do_removal_processing();
-  virtual void acknowledge_element (Score_element_info);
-  virtual void process_acknowledged ();
-  virtual Spanner* get_spanner_p () const;
+  Spanner *staffline_;
+  vector<Grob*> elts_;
+  void process_music ();
+  virtual void finalize ();
+  DECLARE_ACKNOWLEDGER (grob);
+  void process_acknowledged ();
+  virtual Spanner *get_spanner ();
+  virtual void add_element (Grob *);
 public:
-  VIRTUAL_COPY_CONS(Translator);
-  
-  Axis_group_engraver ();
+  TRANSLATOR_DECLARATIONS (Axis_group_engraver);
 };
-
 #endif /* AXIS_GROUP_ENGRAVER_HH */
-