2 // lilypond-stream.hh -- part of LilyPond
4 // (c) 1997--2001 Jan Nieuwenhuizen <janneke@gnu.org>
6 // should i be named Lilypond_stream?
8 #ifndef LILYPOND_STREAM_HH
9 #define LILYPOND_STREAM_HH
11 #include "midi2ly-proto.hh"
13 //#include "scalar.hh"
16 class Lilypond_stream {
18 Lilypond_stream (String filename_str);
21 Lilypond_stream& operator << (char c);
22 Lilypond_stream& operator << (String s);
23 Lilypond_stream& operator << (Lilypond_item& lilypond_item_r);
26 void handle_pending_indent();
29 void output (String str);
30 void output_wrapped (String str);
36 int pending_indent_i_;
41 #endif // LILYPOND_STREAM_HH