-/*
- TODO: change the rest of lily, so communication with
- Timing_translator is only done through properties. This means the
- class declaration can go here. */
-
-bool
-Timing_translator::do_try_music (Music*r)
-{
- if (dynamic_cast<Barcheck_req*> (r))
- {
- check_ = r;
- return true;
- }
- return false;
-}
-
-void
-Timing_translator::deprecated_process_music()
-{
- if (check_ && measure_position ())
- {
- check_->origin ()->warning (_f ("barcheck failed at: %s",
- measure_position ().str ()));
- Moment zero;
-
- if (!to_boolean (get_property ("barCheckNoSynchronize")))
- daddy_trans_l_->set_property("measurePosition", zero.smobbed_copy ());
- }
-
- SCM fr = get_property ("timeSignatureFraction");
-
- if (scm_equal_p (fr, last_time_sig_) == SCM_BOOL_F)
- {
- last_time_sig_ = fr;
- set_time_signature ();
- }
-}
-