* lily/music-iterator.cc (quit, do_quit): new function: break link
[lilypond.git] / lily / time-scaled-music-iterator.cc
blobcbba1e4f03e449051456cdd6328133982015cc28
1 /*
2 time-scaled-music-iterator.cc -- implement Time_scaled_music_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
10 #include "time-scaled-music-iterator.hh"
11 #include "time-scaled-music.hh"
12 #include "musical-request.hh"
13 #include "translator-group.hh"
14 #include "command-request.hh"
16 void
17 Time_scaled_music_iterator::process (Moment m)
19 if (!m.to_bool ())
21 Music_iterator *yeah = try_music (get_music ());
22 if (yeah)
23 set_translator (yeah->report_to ());
24 else
25 get_music ()->origin ()->warning (_ ("no one to print a tuplet start bracket"));
28 Music_wrapper_iterator::process (m);
31 IMPLEMENT_CTOR_CALLBACK (Time_scaled_music_iterator);