]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/score.hh
* scm/define-music-types.scm (music-descriptions): don't use
[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--2005 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
26 public:
27   String user_key_;
28   Link_array<Output_def> defs_;
29   SCM header_;
30   SCM texts_;
31   bool error_found_;
32
33   Score ();
34   Score (Score const &);
35
36   SCM get_music () const;
37   void set_music (SCM music);
38   SCM book_rendering (Output_def *, Output_def *, Object_key *);
39 };
40
41 DECLARE_UNSMOB (Score, score);
42
43 void default_rendering (SCM, SCM, SCM, SCM, SCM, SCM);
44 SCM ly_render_output (SCM, SCM);
45 SCM ly_run_translator (SCM, SCM, SCM);
46
47 #endif /* SCORE_HH */