]> git.donarmstrong.com Git - lilypond.git/blob - m2m/include/lily-stream.hh
8c6622d324a41796cc9e0e51a08066c37756350d
[lilypond.git] / m2m / include / lily-stream.hh
1 //
2 //  lily-stream.hh -- part of LilyPond
3 //
4 //  copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
5
6 // should i be named Mudela_stream?
7
8 #ifndef LILY_STREAM_HH
9 #define LILY_STREAM_HH
10
11 /// Lily output
12 struct Lily_stream {
13     ostream* os_p_;
14     String filename_str_;
15     int indent_i_;
16     int column_i_;
17     int wrap_column_i_;
18     bool comment_mode_bo_;
19     
20     Lily_stream( String filename_str );
21     ~Lily_stream();
22
23     Lily_stream& operator <<( String str );
24     Lily_stream& operator <<( Midi_event& midi_event_r );
25
26     void check_comment( String str );
27     void header();
28     void indent();
29     void newline();
30     void open();
31     void tnedni();
32 };
33
34 #endif // LILY_STREAM_HH
35