]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/score.hh
release: 1.3.118
[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--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef SCORE_HH
11 #define SCORE_HH
12
13 #include "input.hh"
14 #include "lily-proto.hh"
15 #include "protected-scm.hh"
16 #include "parray.hh"
17 #include "smobs.hh"
18
19 /// the total music def of one movement
20 class Score: public Input {
21 public:
22   /// paper_, staffs_ and commands_ form the problem definition.
23   Link_array<Music_output_def> def_p_arr_;
24   SCM music_;
25   Scheme_hash_table * header_p_;
26
27   int errorlevel_i_;
28     
29   /// construction
30   Score();
31   Score (Score const&);
32
33
34   void process();
35   void add_output (Music_output_def *def_p);
36   DECLARE_SMOBS(Score,foo);
37 private:
38   void run_translator (Music_output_def*);
39 };
40 Score * unsmob_score (SCM); 
41 #endif