]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/score.hh
* scripts/lilypond-book.py (Compile_error.process_include): catch
[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
19 class Score : public Input
20 {
21   DECLARE_SMOBS (Score, foo);
22
23   SCM music_;
24 public:
25   Link_array<Output_def> defs_;
26   SCM header_;
27   bool error_found_;
28   
29   SCM get_music () const;
30   void set_music (SCM music, SCM parser);
31   Score ();
32   Score (Score const&);
33   SCM book_rendering (String, Output_def*, Output_def*);
34 };
35
36 DECLARE_UNSMOB (Score, score);
37
38 SCM ly_run_translator (SCM, SCM);
39 SCM ly_render_output (SCM, SCM);
40 void default_rendering (SCM, SCM, SCM, SCM, SCM);
41
42 #endif /* SCORE_HH */