]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/score.hh
release: 1.3.73
[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
18 /// the total music def of one movement
19 class Score: public Input {
20 public:
21   /// paper_, staffs_ and commands_ form the problem definition.
22   Link_array<Music_output_def> def_p_arr_;
23   Protected_scm music_;
24   Scope * header_p_;
25
26   int errorlevel_i_;
27     
28   /// construction
29   Score();
30   Score (Score const&);
31   ~Score();    
32
33   void process();
34   void add_output (Music_output_def *def_p);
35   void print() const;
36 private:
37   void run_translator (Music_output_def*);
38 };
39
40 #endif