lilypond-1.3.141
[lilypond.git] / midi2ly / include / midi-score-parser.hh
blob2fca257ec326845f493a6a8f5ebe868e80a12be7
1 /*
2 midi-score-parser.hh -- declare
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
10 #ifndef MIDI_SCORE_PARSER_HH
11 #define MIDI_SCORE_PARSER_HH
13 #include "midi-parser.hh"
14 #include "flower-proto.hh"
15 #include "midi2ly-proto.hh"
16 #include "parray.hh"
18 class Midi_score_parser : public Midi_parser
20 public:
21 Lilypond_score* parse (String filename_str, Sources*);
23 private:
24 void open (String filename_str, Sources*);
26 void parse_header ();
27 int find_earliest_i (Link_array<Midi_track_parser>& tracks);
28 Lilypond_score* parse_score ();
29 };
31 #endif // MIDI_SCORE_PARSER_HH