2 score-context.cc -- implement Score_context
4 source file of the GNU LilyPond music typesetter
6 (c) 2004 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #include "score-context.hh"
10 #include "score-translator.hh"
13 Score_context::prepare (Moment w
)
15 Translator
* t
= implementation ();
16 Score_translator
* s
= dynamic_cast<Score_translator
*> (t
);
22 Score_context::finish ()
24 Translator
* t
= implementation ();
25 Score_translator
* s
= dynamic_cast<Score_translator
*> (t
);
31 Score_context::one_time_step ()
33 Translator
* t
= implementation ();
34 Score_translator
* s
= dynamic_cast<Score_translator
*> (t
);
39 Score_context::get_output ()
41 Translator
*t
= implementation ();
42 Score_translator
*s
= dynamic_cast<Score_translator
*> (t
);
43 return s
->get_output ();