]> git.donarmstrong.com Git - lilypond.git/blob - hdr/inputscore.hh
release: 0.0.34
[lilypond.git] / hdr / inputscore.hh
1 /*
2   inputscore.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     const char* defined_ch_c_l_;
23     int errorlevel_i_;
24     
25     /// paper_, staffs_ and commands_ form the problem definition.
26     Paperdef *paper_p_;
27     Midi_def* midi_p_;
28     IPointerList<Input_staff*> staffs_;
29
30     Input_music * score_wide_music_p_;
31     
32     /* *************************************************************** */
33     Input_score();
34     Input_score(Input_score const&);
35
36     void add(Input_staff*);
37     ~Input_score();
38     /// construction
39     void set(Paperdef*);
40     void set(Midi_def* midi_p);
41     void print() const;
42     Score*parse();
43     void set(Input_music*);
44 };
45
46 #endif