]> git.donarmstrong.com Git - lilypond.git/blob - lily/time-scaled-music-iterator.cc
* flower
[lilypond.git] / lily / time-scaled-music-iterator.cc
1 /*
2   time-scaled-music-iterator.cc -- implement Time_scaled_music_iterator
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1998--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #include "time-scaled-music-iterator.hh"
10 #include "context.hh"
11 #include "input.hh"
12
13 void
14 Time_scaled_music_iterator::process (Moment m)
15 {
16   if (!m.to_bool ())
17     {
18       Music_iterator *yeah = try_music (get_music ());
19       if (yeah)
20         set_context (yeah->get_outlet ());
21       else
22         get_music ()->origin ()->warning (_ ("no one to print a tuplet start bracket"));
23     }
24
25   Music_wrapper_iterator::process (m);
26 }
27
28 IMPLEMENT_CTOR_CALLBACK (Time_scaled_music_iterator);