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