lilypond-1.5.33
[lilypond.git] / hdr / midistream.hh
blob769cd23250b4bdfe51aaaf59cdcc608ccbc0e9fb
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 clocks_per_4_i_;
17 int tracks_i_;
19 Midi_stream( String filename_str, int tracks_i, int clocks_per_4_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 //