]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/score-context.cc
* lily/ various: Introduce stream events of types Prepare,
[lilypond.git] / lily / score-context.cc
index c89469d8f9a6d0370004b59e71fc1935a99b7027..60ef4905170671bd29c94b3d9595afa8dd78fa12 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "score-context.hh"
 #include "score-translator.hh"
 
 void
-Score_context::prepare (Moment w)
+Score_context::prepare (Moment)
 {
-  Translator *t = implementation ();
-  Score_translator *s = dynamic_cast<Score_translator *> (t);
-
-  s->prepare (w);
 }
 
 void
 Score_context::finish ()
 {
-  Translator *t = implementation ();
-  Score_translator *s = dynamic_cast<Score_translator *> (t);
-
-  s->finish ();
 }
 
 void
 Score_context::one_time_step ()
 {
-  Translator *t = implementation ();
-  Score_translator *s = dynamic_cast<Score_translator *> (t);
-  s->one_time_step ();
 }
 
-Music_output *
+SCM
 Score_context::get_output ()
 {
-  Translator *t = implementation ();
+  Translator_group *t = implementation ();
   Score_translator *s = dynamic_cast<Score_translator *> (t);
   return s->get_output ();
 }