void request_bar (string type_string);
protected:
- virtual void finalize ();
void stop_translation_timestep ();
void process_acknowledged ();
private:
- void typeset_bar ();
void create_bar ();
Item *bar_;
}
}
-void
-Bar_engraver::finalize ()
-{
- typeset_bar ();
-}
-
/*
Bar_engraver should come *after* any engravers that
modify whichBar
create_bar ();
}
-void
-Bar_engraver::typeset_bar ()
-{
- bar_ = 0;
-}
-
/*
lines may only be broken if there is a barline in all staves
*/
{
if (!bar_)
context ()->get_score_context ()->set_property ("forbidBreak", SCM_BOOL_T);
- else
- typeset_bar ();
+
+ bar_ = 0;
}
ADD_TRANSLATOR (Bar_engraver,