lilypond-0.0.35
[lilypond.git] / hdr / midistream.hh
blob34e9c9b523b30c8773438d6e0a6d662cdefd1123
1 //
2 // midistream.hh -- part of LilyPond
3 //
4 // copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
6 #ifndef MIDI_STREAM_HH
7 #define MIDI_STREAM_HH
9 #include <iostream.h>
10 #include "string.hh"
12 /// Midi output
13 struct Midi_stream {
14 ostream* os_p_;
15 String filename_str_;
16 int tempo_i_;
17 int tracks_i_;
19 Midi_stream( String filename_str, int tracks_i, int tempo_i );
20 ~Midi_stream();
22 Midi_stream& operator <<( String str );
23 Midi_stream& operator <<( Midi_item& mitem_r );
24 Midi_stream& operator <<( int i );
26 void header();
27 void open();
29 //private:
30 // Midi_stream(Midi_stream const&);
32 #endif // MIDI_STREAM_HH //