]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/score.hh
* lily/include/file-results.hh (class Input_file_settings):
[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--2002 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
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_, staves_ and commands_ form the problem definition.
23   Link_array<Music_output_def> defs_;
24   SCM music_;
25   Scheme_hash_table * header_;
26   Input_file_settings* input_file_;
27   
28   int errorlevel_;
29     
30   /// construction
31   Score ();
32   Score (Score const&);
33
34
35   void process ();
36   void add_output (Music_output_def *def);
37   DECLARE_SMOBS (Score,foo);
38 private:
39   void run_translator (Music_output_def*);
40 };
41 DECLARE_UNSMOB(Score,score); 
42 #endif