]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/midi-stream.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / midi-stream.hh
1 /*
2   midi-stream.hh -- declare Midi_stream
3
4   (c) 1997--2008 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 <string.h>
14 #include "std-string.hh"
15 #include "lily-proto.hh"
16
17 struct Midi_stream
18 {
19   Midi_stream (string file_name_string);
20   ~Midi_stream ();
21
22   void write (string);
23   void write (Midi_chunk const &);
24   void open ();
25
26   FILE *out_file_;
27   string file_name_string_;
28 };
29
30 #endif // MIDI_STREAM_HH