2 output-property-music-iterator.cc -- implement Output_property_music_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 2000--2006 Jan Nieuwenhuizen <janneke@gnu.org>
9 #include "simple-music-iterator.hh"
12 #include "international.hh"
15 class Output_property_music_iterator : public Simple_music_iterator
18 DECLARE_SCHEME_CALLBACK (constructor, ());
20 virtual void process (Moment);
25 Output_property_music_iterator::process (Moment m)
27 if (last_processed_mom_ < Moment (0))
29 bool accepted = try_music (get_music ());
31 get_music ()->origin ()->warning (_f ("junking event: `%s'",
32 get_music ()->class_name ()));
34 Simple_music_iterator::process (m);
37 IMPLEMENT_CTOR_CALLBACK (Output_property_music_iterator);