]> git.donarmstrong.com Git - lilypond.git/blob - mi2mu/include/midi-score-parser.hh
c13ea027276cdeb734619c9776dc1c66770060a9
[lilypond.git] / mi2mu / include / midi-score-parser.hh
1 /*
2   midi-score-parser.hh -- declare 
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Jan Nieuwenhuizen <jan@digicash.com>
7 */
8
9
10 #ifndef MIDI_SCORE_PARSER_HH
11 #define MIDI_SCORE_PARSER_HH
12
13 #include "midi-parser.hh"
14 #include "proto.hh"
15 #include "mi2mu-proto.hh"
16 #include "parray.hh"
17
18 class Midi_score_parser : public Midi_parser
19 {
20 public:
21   Mudela_score* parse (String filename_str, Sources*);
22
23 private:
24   void open (String filename_str, Sources*);
25
26   void parse_header ();
27   // why the #*&$#{%) has Link_array another behaviour than Link_list??
28   //  int find_earliest_i (Link_array<Midi_track_parser*>& tracks);
29   int find_earliest_i (Link_array<Midi_track_parser>& tracks);
30   Mudela_score* parse_score ();
31 };          
32
33 #endif // MIDI_SCORE_PARSER_HH