-#ifndef ISCORE_HH
-#define ISCORE_HH
+/*
+ inputscore.hh -- declare
+
+ source file of the LilyPond music typesetter
+
+ (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef INPUTSCORE_HH
+#define INPUTSCORE_HH
+
#include "varray.hh"
#include "proto.hh"
#include "plist.hh"
int errorlevel_i_;
/// paper_, staffs_ and commands_ form the problem definition.
- Paperdef *paper_;
+ Paperdef *paper_p_;
IPointerList<Input_staff*> staffs_;
- IPointerList<Input_command*> commands_;
+
+ Input_music * score_wide_music_p_;
/* *************************************************************** */
Input_score();
Input_score(Input_score const&);
- void add(Array<Input_command*> &s);
+
void add(Input_staff*);
~Input_score();
/// construction
void set(Paperdef*);
void print() const;
Score*parse();
+ void set(Input_music*);
};
#endif
/*
- inputstaff.hh -- part of LilyPond
+ inputstaff.hh -- declare Input_staff
(c) 1996,97 Han-Wen Nienhuys
*/
struct Input_staff {
-
const char * defined_ch_c_l_;
String type;
- IPointerList<Input_command*> commands_;
+
IPointerList<Input_music*> music_;
-
+ Input_music * score_wide_music_p_;
+
/* *************** */
-
+ ~Input_staff();
void add(Input_music*m);
Input_staff(Input_staff const&);
Input_staff(String);
- void add(Array<Input_command*> &s);
- Staff* parse(Score*);
+ void set_score_wide(Input_music*m);
+ Staff* parse(Score*, Input_music *score_wide);
void print() const;
};