]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/input-score.hh
a7468e03fa59f378cafb074089d3b2477e5b0374
[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
18
19 /// the total music def of one movement
20 struct Input_score {
21     /// defined where?    
22     char const * defined_ch_c_l_;
23     int errorlevel_i_;
24     
25     /// paper_, staffs_ and commands_ form the problem definition.
26     Paper_def *paper_p_;
27     Midi_def* midi_p_;
28     IPointerList<Input_staff*> staffs_;
29
30     
31     /* *************************************************************** */
32     Input_score();
33     Input_score(Input_score const&);
34
35     void add(Input_staff*);
36     ~Input_score();
37     /// construction
38     void set(Paper_def*);
39     void set(Midi_def* midi_p);
40     void print() const;
41     Score*parse();
42 };
43
44 #endif