X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftime-scaled-music-iterator.cc;h=ede99b4931ca90dc8b67ae9444120605a0255fcb;hb=de2b6d04ee98783f86b02047e41ee672f97a813d;hp=f68a4d7d88304d2e11e7548813b306b49ca88117;hpb=287611887cd612ac84dbf10c5fe4e1a44cc56596;p=lilypond.git diff --git a/lily/time-scaled-music-iterator.cc b/lily/time-scaled-music-iterator.cc index f68a4d7d88..ede99b4931 100644 --- a/lily/time-scaled-music-iterator.cc +++ b/lily/time-scaled-music-iterator.cc @@ -3,27 +3,29 @@ source file of the GNU LilyPond music typesetter - (c) 1998--2000 Han-Wen Nienhuys + (c) 1998--2003 Han-Wen Nienhuys */ #include "time-scaled-music-iterator.hh" #include "time-scaled-music.hh" -#include "musical-request.hh" +#include "event.hh" #include "translator-group.hh" -#include "command-request.hh" + void Time_scaled_music_iterator::process (Moment m) { - if (!m) + if (!m.to_bool ()) { - Music_iterator *yeah = try_music (music_l_); + Music_iterator *yeah = try_music (get_music ()); if (yeah) - set_translator (yeah->report_to_l ()); + set_translator (yeah->report_to ()); else - music_l_->origin ()->warning ( _("no one to print a tuplet start bracket")); + get_music ()->origin ()->warning (_ ("no one to print a tuplet start bracket")); } Music_wrapper_iterator::process (m); } + +IMPLEMENT_CTOR_CALLBACK (Time_scaled_music_iterator);