X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fdefault-bar-line-engraver.cc;h=0b661134515dec44a5e641792de7ee7f2dbc2d6d;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=2203faa6d542dfcfc6a67ac00cb7181bb8f53f97;hpb=f2c2c5c43858f323e4708f83fd97e0f38017c275;p=lilypond.git diff --git a/lily/default-bar-line-engraver.cc b/lily/default-bar-line-engraver.cc index 2203faa6d5..0b66113451 100644 --- a/lily/default-bar-line-engraver.cc +++ b/lily/default-bar-line-engraver.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ #include "engraver.hh" @@ -12,15 +12,14 @@ #include "grob.hh" #include "warn.hh" - class Default_bar_line_engraver : public Engraver { protected: /* Need to know whether we're advancing in grace notes, or not. */ Moment last_moment_; - PRECOMPUTED_VIRTUAL void start_translation_timestep (); - PRECOMPUTED_VIRTUAL void stop_translation_timestep (); + void start_translation_timestep (); + void stop_translation_timestep (); public: TRANSLATOR_DECLARATIONS (Default_bar_line_engraver); @@ -29,16 +28,25 @@ public: #include "translator.icc" ADD_TRANSLATOR (Default_bar_line_engraver, - "This engraver determines what kind of automatic bar lines should be produced, " - "and sets @code{whichBar} accordingly. It should be at the same " - "level as @ref{Timing_translator}. ", - /* creats*/ "", - /* accepts */ "", - /* reads */ - "measurePosition automaticBars whichBar barAlways defaultBarType " - "measureLength", - /* write */ "automaticBars"); - + /* doc */ + "This engraver determines what kind of automatic bar lines" + " should be produced, and sets @code{whichBar} accordingly." + " It should be at the same level as @ref{Timing_translator}.", + + /* create */ + "", + + /* read */ + "automaticBars " + "barAlways " + "defaultBarType " + "measureLength " + "whichBar " + "measurePosition ", + + /* write */ + "automaticBars " + ); Default_bar_line_engraver::Default_bar_line_engraver () {