]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/span-bar-engraver.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / span-bar-engraver.cc
index f98f8d321422665374e0be2353c648c665168ac8..7ec59d3895f4d50e4c3d607bf433e8ba8d452b68 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "bar-line.hh"
@@ -27,8 +27,8 @@ class Span_bar_engraver : public Engraver
 public:
   TRANSLATOR_DECLARATIONS (Span_bar_engraver);
 protected:
-  virtual void acknowledge_grob (Grob_info);
-  PRECOMPUTED_VIRTUAL void stop_translation_timestep ();
+  DECLARE_ACKNOWLEDGER (bar_line);
+  void stop_translation_timestep ();
 };
 
 Span_bar_engraver::Span_bar_engraver ()
@@ -37,7 +37,7 @@ Span_bar_engraver::Span_bar_engraver ()
 }
 
 void
-Span_bar_engraver::acknowledge_grob (Grob_info i)
+Span_bar_engraver::acknowledge_bar_line (Grob_info i)
 {
   int depth = i.origin_contexts (this).size ();
   if (depth && Bar_line::has_interface (i.grob ()))
@@ -74,11 +74,11 @@ Span_bar_engraver::stop_translation_timestep ()
 
 #include "translator.icc"
 
+ADD_ACKNOWLEDGER (Span_bar_engraver, bar_line);
 ADD_TRANSLATOR (Span_bar_engraver,
-               /* descr */ "This engraver makes cross-staff barlines: It catches all normal "
+               /* doc */ "This engraver makes cross-staff barlines: It catches all normal "
                "bar lines, and draws a single span-bar across them.",
-               /* creats*/ "SpanBar",
-               /* accepts */ "",
-               /* acks  */ "bar-line-interface",
-               /* reads */ "",
+               /* create */ "SpanBar",
+               /* accept */ "",
+               /* read */ "",
                /* write */ "");