]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/midi-stream.hh
* Another grand 2003 update.
[lilypond.git] / lily / include / midi-stream.hh
1 /*
2   midi-stream.hh -- declare Midi_stream
3
4   (c)  1997--2003 Jan Nieuwenhuizen <janneke@gnu.org>
5  */
6
7 #ifndef MIDI_STREAM_HH
8 #define MIDI_STREAM_HH
9
10 #include <stdio.h>
11 #include "string.hh"
12
13 /// Midi outputfile
14 struct Midi_stream {
15   Midi_stream (String filename_string);
16   ~Midi_stream ();
17
18   Midi_stream& operator << ( String str);
19   Midi_stream& operator << ( Midi_item const& midi_c_r);
20   Midi_stream& operator << ( int i);
21
22   void open ();
23
24   FILE *out_file_;
25   String filename_string_;
26 };
27
28 #endif // MIDI_STREAM_HH