]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/midi-stream.hh
The IR guide
[lilypond.git] / lily / include / midi-stream.hh
1 /*
2   midi-stream.hh -- declare Midi_stream
3
4   (c) 1997--2007 Jan Nieuwenhuizen <janneke@gnu.org>
5 */
6
7 #ifndef MIDI_STREAM_HH
8 #define MIDI_STREAM_HH
9
10 #include <cstdio>
11 using namespace std;
12
13 #include "std-string.hh"
14 #include "lily-proto.hh"
15
16 struct Midi_stream
17 {
18   Midi_stream (string file_name_string);
19   ~Midi_stream ();
20
21   void write (string);
22   void write (Midi_chunk const &);
23   void open ();
24
25   FILE *out_file_;
26   string file_name_string_;
27 };
28
29 #endif // MIDI_STREAM_HH