#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);
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 */
+ "level as @ref{Timing_translator}. ",
+ /* create */ "",
+ /* accept */ "",
+ /* read */
"measurePosition automaticBars whichBar barAlways defaultBarType "
"measureLength",
/* write */ "automaticBars");
-
Default_bar_line_engraver::Default_bar_line_engraver ()
{
last_moment_.main_part_ = Rational (-1);