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