]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/score.hh
* Documentation/topdocs/NEWS.tely (Top): Mention markup text feature.
[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 public:
26   String user_key_;
27   Link_array<Output_def> defs_;
28   SCM header_;
29   SCM texts_;
30   bool error_found_;
31   
32   SCM get_music () const;
33   void set_music (SCM music, SCM parser);
34   Score ();
35   Score (Score const&);
36   
37   SCM book_rendering (String, Output_def*, Output_def*, Object_key*);
38 };
39
40 DECLARE_UNSMOB (Score, score);
41
42 SCM ly_run_translator (SCM, SCM, SCM);
43 SCM ly_render_output (SCM, SCM);
44 void default_rendering (SCM, SCM, SCM, SCM, SCM, SCM, SCM);
45
46 #endif /* SCORE_HH */