lilypond-1.1.55
[lilypond.git] / hdr / inputscore.hh
blob88cc1894a86f127ce74a1ea344b4f9987dadf744
1 /*
2 inputscore.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 Paperdef *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(Paperdef*);
40 void set(Midi_def* midi_p);
41 void print() const;
42 Score*parse();
43 void set(Input_music*);
46 #endif