]> git.donarmstrong.com Git - lilypond.git/blob - lily/score-context.cc
* lily/ various: Introduce stream events of types Prepare,
[lilypond.git] / lily / score-context.cc
1 /*
2   score-context.cc -- implement Score_context
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #include "score-context.hh"
10
11 #include "score-translator.hh"
12
13 void
14 Score_context::prepare (Moment)
15 {
16 }
17
18 void
19 Score_context::finish ()
20 {
21 }
22
23 void
24 Score_context::one_time_step ()
25 {
26 }
27
28 SCM
29 Score_context::get_output ()
30 {
31   Translator_group *t = implementation ();
32   Score_translator *s = dynamic_cast<Score_translator *> (t);
33   return s->get_output ();
34 }
35
36 Score_context::Score_context (Object_key const *key)
37   : Context (key)
38 {
39 }