]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/score.hh
42872b3388ae82fa0b0819208d312754812c18a7
[lilypond.git] / lily / include / score.hh
1 /*
2   score.hh -- declare Score
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #ifndef SCORE_HH
10 #define SCORE_HH
11
12 #include "lily-proto.hh"
13
14 #include "input.hh"
15 #include "parray.hh"
16 #include "smobs.hh"
17 #include "virtual-methods.hh"
18 #include "string.hh"
19
20 class Score : public Input
21 {
22   DECLARE_SMOBS (Score, foo);
23
24   SCM music_;
25 public:
26   String user_key_;
27   Link_array<Output_def> defs_;
28   SCM header_;
29   bool error_found_;
30   
31   SCM get_music () const;
32   void set_music (SCM music, SCM parser);
33   Score ();
34   Score (Score const&);
35   
36   SCM book_rendering (String, Output_def*, Output_def*, Object_key*);
37 };
38
39 DECLARE_UNSMOB (Score, score);
40
41 SCM ly_run_translator (SCM, SCM, SCM);
42 SCM ly_render_output (SCM, SCM);
43 void default_rendering (SCM, SCM, SCM, SCM, SCM, SCM);
44
45 #endif /* SCORE_HH */