]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/input-score.hh
release: 0.0.46.jcn1
[lilypond.git] / lily / include / input-score.hh
1 /*
2   input-score.hh -- declare 
3
4   source file of the LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef INPUTSCORE_HH
11 #define INPUTSCORE_HH
12
13 #include "varray.hh"
14 #include "proto.hh"
15 #include "plist.hh"
16 #include "string.hh"
17 #include "input.hh"
18
19 /// the total music def of one movement
20 class Input_score : public Input {
21 public:
22     int errorlevel_i_;
23     
24     /// paper_, staffs_ and commands_ form the problem definition.
25     Paper_def *paper_p_;
26     Midi_def* midi_p_;
27     IPointerList<Input_staff*> staffs_;
28
29     
30     /* *************************************************************** */
31     Input_score();
32     Input_score(Input_score const&);
33
34     void add(Input_staff*);
35     ~Input_score();
36     /// construction
37     void set(Paper_def* paper_p);
38     void set(Midi_def* midi_p);
39     void print() const;
40     Score*parse();
41 };
42
43 #endif