]> git.donarmstrong.com Git - lilypond.git/blob - lily/output-property-music-iterator.cc
release: 1.5.29
[lilypond.git] / lily / output-property-music-iterator.cc
1 /*   
2   output-property-music-iterator.cc -- implement Output_property_music_iterator
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 2000--2002 Jan Nieuwenhuizen <janneke@gnu.org>
7  */
8
9 #include "input.hh"
10 #include "music-list.hh"
11 #include "output-property-music-iterator.hh"
12
13 void
14 Output_property_music_iterator::process (Moment m)
15 {
16   if (last_processed_mom_ < Moment (0))
17     {
18       bool accepted = try_music (music_l ());
19       if (!accepted)
20         music_l ()->origin ()->warning (_f ("Junking request: `%s'",
21                                           classname (music_l ())));
22     }
23
24   skip (m);
25 }
26
27 IMPLEMENT_CTOR_CALLBACK (Output_property_music_iterator);