]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-engraver.cc
release: 1.5.0
[lilypond.git] / lily / bar-engraver.cc
index d81996fd61634d87132ea2ab063e8478364073c8..0108cf961a798fec16c113ef8af15cdaa202ec46 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 class Bar_engraver : public Engraver
 {
 public:
-  Bar_engraver();
-  VIRTUAL_COPY_CONS(Translator);
+  Bar_engraver ();
+  VIRTUAL_COPY_CONS (Translator);
   void request_bar (String type_str);
     
 protected:
-  virtual void do_removal_processing ();
-  virtual void stop_translation_timestep();
+  virtual void finalize ();
+  virtual void stop_translation_timestep ();
   virtual void create_grobs ();
 
 private:
@@ -38,7 +38,7 @@ private:
   Item * bar_p_;
 };
 
-Bar_engraver::Bar_engraver()
+Bar_engraver::Bar_engraver ()
 {
   bar_p_ =0;
 }
@@ -59,14 +59,14 @@ Bar_engraver::create_bar ()
 }
 
 void
-Bar_engraver::do_removal_processing ()
+Bar_engraver::finalize ()
 {
   typeset_bar ();
 }
 
 /*
-  Bar_engraver should come *after* any engravers that expect bars to
-  modify whichBar in  deprecated_process_music () be typeset
+  Bar_engraver should come *after* any engravers that  
+  modify whichBar
 */
 void
 Bar_engraver::create_grobs ()
@@ -91,7 +91,7 @@ Bar_engraver::typeset_bar ()
   lines may only be broken if there is a barline in all staffs 
 */
 void 
-Bar_engraver::stop_translation_timestep()
+Bar_engraver::stop_translation_timestep ()
 {
   if (!bar_p_)
     {
@@ -111,4 +111,4 @@ Bar_engraver::stop_translation_timestep()
     typeset_bar ();
 }
 
-ADD_THIS_TRANSLATOR(Bar_engraver);
+ADD_THIS_TRANSLATOR (Bar_engraver);