protected:
virtual void finalize ();
virtual bool try_music (Music *);
- virtual void stop_translation_timestep ();
- virtual void start_translation_timestep ();
- virtual void process_music ();
+ void stop_translation_timestep ();
+ void start_translation_timestep ();
+ void process_music ();
};
Percent_repeat_engraver::Percent_repeat_engraver ()
else if (repeat_sign_type_ == DOUBLE_MEASURE)
{
double_percent_ = make_item ("DoublePercentRepeat", repeat_->self_scm ());
+
/*
forbid breaks on a % line. Should forbid all breaks, really.
- */
- get_score_engraver ()->forbid_breaks (); // guh. Use properties!
+ Ugh. Why can't this be regular communication between
+ contexts?
+ */
+ get_score_engraver ()->forbid_breaks ();
}
next_moment_ = next_moment_ + body_length_;
}
typeset_perc ();
}
+#include "translator.icc"
+
ADD_TRANSLATOR (Percent_repeat_engraver,
- /* descr */ "Make whole bar and double bar repeats.",
- /* creats*/ "PercentRepeat DoublePercentRepeat",
- /* accepts */ "repeated-music",
- /* acks */ "",
- /* reads */ "measureLength currentCommandColumn",
+ /* doc */ "Make whole bar and double bar repeats.",
+ /* create */ "PercentRepeat DoublePercentRepeat",
+ /* accept */ "repeated-music",
+ /* read */ "measureLength currentCommandColumn",
/* write */ "");