]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/midi-stream.hh
f367d62a2ab16f5284c60ca8999dcf3167281155
[lilypond.git] / lily / include / midi-stream.hh
1 /*
2   midi-stream.hh -- declare Midi_stream
3
4   (c)  1997--1999 Jan Nieuwenhuizen <janneke@gnu.org>
5  */
6
7 #ifndef MIDI_STREAM_HH
8 #define MIDI_STREAM_HH
9
10 #include <iostream.h>
11 #include "string.hh"
12
13 /// Midi outputfile
14 struct Midi_stream {
15   Midi_stream (String filename_str);
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   ostream* os_p_;
25   String filename_str_;
26 };
27
28 #endif // MIDI_STREAM_HH