lilypond-1.3.137
[lilypond.git] / hdr / input-score.hh
blob4286f4b60b798023dd7daf4597c0bf7e63691203
1 /*
2 input-score.hh -- declare
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
10 #ifndef INPUTSCORE_HH
11 #define INPUTSCORE_HH
13 #include "varray.hh"
14 #include "proto.hh"
15 #include "plist.hh"
16 #include "string.hh"
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_;
25 /// paper_, staffs_ and commands_ form the problem definition.
26 Paper_def *paper_p_;
27 Midi_def* midi_p_;
28 IPointerList<Input_staff*> staffs_;
30 Input_music * score_wide_music_p_;
32 /* *************************************************************** */
33 Input_score();
34 Input_score(Input_score const&);
36 void add(Input_staff*);
37 ~Input_score();
38 /// construction
39 void set(Paper_def*);
40 void set(Midi_def* midi_p);
41 void print() const;
42 Score*parse();
43 void set(Input_music*);
46 #endif