]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/event-chord-iterator.cc
Run `make grand-replace'.
[lilypond.git] / lily / event-chord-iterator.cc
index 60e7e3081a0ba00fce334c5ec16f5527181ceae1..d6c7a26b9cf606b4abd9bc45125569f07d97c793 100644 (file)
@@ -3,17 +3,17 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #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);
 }