* lily/ledger-line-engraver.cc: new file.
[lilypond.git] / lily / score-context.cc
blob6cbd6a555915c9263a8f4ee6d20f1aea3adf7213
1 /*
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>
7 */
9 #include "score-context.hh"
10 #include "score-translator.hh"
12 void
13 Score_context::prepare (Moment w)
15 Translator* t = implementation ();
16 Score_translator * s = dynamic_cast<Score_translator *> (t);
18 s->prepare (w);
21 void
22 Score_context::finish ()
24 Translator* t = implementation ();
25 Score_translator * s = dynamic_cast<Score_translator *> (t);
27 s->finish ();
30 void
31 Score_context::one_time_step ()
33 Translator* t = implementation ();
34 Score_translator * s = dynamic_cast<Score_translator *> (t);
35 s->one_time_step ();
38 Music_output*
39 Score_context::get_output ()
41 Translator *t = implementation ();
42 Score_translator *s = dynamic_cast<Score_translator *> (t);
43 return s->get_output ();