]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/midi-stream.hh
add 2007 to (c) year.
[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
15 class Midi_item;
16
17 /// Midi outputfile
18 struct Midi_stream
19 {
20   Midi_stream (string file_name_string);
21   ~Midi_stream ();
22
23   Midi_stream &operator << (string str);
24   Midi_stream &operator << (Midi_item const &midi_c_r);
25   Midi_stream &operator << (int i);
26
27   void open ();
28
29   FILE *out_file_;
30   string file_name_string_;
31 };
32
33 #endif // MIDI_STREAM_HH