]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/event-chord-iterator.cc
Documentation/user/programming-interface.itely: fix @{ @}.
[lilypond.git] / lily / event-chord-iterator.cc
index 0271eca42443fbe9fc9b7c050a9bdab2bec0a8b5..01e839b40d8f1c9c3054e710273d67bb02f3c305 100644 (file)
 
 #include "context.hh"
 #include "warn.hh"
-#include "event.hh"
+#include "music.hh"
+#include "input.hh"
+#include "pitch.hh"
+#include "duration.hh"
 
 Event_chord_iterator::Event_chord_iterator ()
 {
 }
 
 Context *
-Event_chord_iterator::get_req_translator ()
+Event_chord_iterator::get_bottom_context ()
 {
   assert (get_outlet ());
   if (get_outlet ()->is_bottom_context ())
@@ -31,13 +34,7 @@ void
 Event_chord_iterator::construct_children ()
 {
   Simple_music_iterator::construct_children ();
-  get_req_translator ();
-}
-
-Event_chord *
-Event_chord_iterator::get_elt () const
-{
-  return (Event_chord *) get_music ();
+  get_bottom_context ();
 }
 
 void