]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/time-scaled-music-iterator.cc
* lily/rest.cc (y_offset_callback): only use direction if
[lilypond.git] / lily / time-scaled-music-iterator.cc
index 84282bc230c7f22483621d0b301574e5c77a79d5..e1385ce2cc3f93bf86812b3ab772ad4d81df1a6a 100644 (file)
@@ -1,17 +1,16 @@
-/*   
+/*
   time-scaled-music-iterator.cc -- implement Time_scaled_music_iterator
-  
+
   source file of the GNU LilyPond music typesetter
-  
-  (c) 1998--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-  
- */
+
+  (c) 1998--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
 
 #include "time-scaled-music-iterator.hh"
-#include "time-scaled-music.hh"
-#include "event.hh"
-#include "translator-group.hh"
 
+#include "context.hh"
+#include "input.hh"
+#include "international.hh"
 
 void
 Time_scaled_music_iterator::process (Moment m)
@@ -20,12 +19,12 @@ Time_scaled_music_iterator::process (Moment m)
     {
       Music_iterator *yeah = try_music (get_music ());
       if (yeah)
-       set_translator (yeah->report_to ());
+       set_context (yeah->get_outlet ());
       else
        get_music ()->origin ()->warning (_ ("no one to print a tuplet start bracket"));
     }
 
   Music_wrapper_iterator::process (m);
 }
+
 IMPLEMENT_CTOR_CALLBACK (Time_scaled_music_iterator);