X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fevent-chord-iterator.cc;h=08ee9b620e410a38683df548fd667f1dd566b2e8;hb=6dbf08cdc7c36d3b79dc757cab283423a40cd4a6;hp=60e7e3081a0ba00fce334c5ec16f5527181ceae1;hpb=9f3572d98bb948c9689cd1f75401a029451fa001;p=lilypond.git diff --git a/lily/event-chord-iterator.cc b/lily/event-chord-iterator.cc index 60e7e3081a..08ee9b620e 100644 --- a/lily/event-chord-iterator.cc +++ b/lily/event-chord-iterator.cc @@ -3,17 +3,17 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2006 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ #include "event-chord-iterator.hh" #include "context.hh" +#include "dispatcher.hh" #include "duration.hh" #include "input.hh" #include "international.hh" #include "music.hh" -#include "pitch.hh" #include "warn.hh" Event_chord_iterator::Event_chord_iterator () @@ -38,6 +38,12 @@ Event_chord_iterator::process (Moment m) Music *mus = unsmob_music (scm_car (s)); report_event (mus); } + for (SCM s = get_music ()->get_property ("events"); + scm_is_pair (s); s = scm_cdr (s)) + { + Stream_event *ev = unsmob_stream_event (scm_car (s)); + get_outlet ()->event_source ()->broadcast (ev); + } } Simple_music_iterator::process (m); }