]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.39
authorfred <fred>
Tue, 4 Mar 1997 17:25:45 +0000 (17:25 +0000)
committerfred <fred>
Tue, 4 Mar 1997 17:25:45 +0000 (17:25 +0000)
m2m/include/lily-stream.hh [new file with mode: 0644]

diff --git a/m2m/include/lily-stream.hh b/m2m/include/lily-stream.hh
new file mode 100644 (file)
index 0000000..8c6622d
--- /dev/null
@@ -0,0 +1,35 @@
+//
+//  lily-stream.hh -- part of LilyPond
+//
+//  copyright 1997 Jan Nieuwenhuizen <jan@digicash.com>
+
+// should i be named Mudela_stream?
+
+#ifndef LILY_STREAM_HH
+#define LILY_STREAM_HH
+
+/// Lily output
+struct Lily_stream {
+    ostream* os_p_;
+    String filename_str_;
+    int indent_i_;
+    int column_i_;
+    int wrap_column_i_;
+    bool comment_mode_bo_;
+    
+    Lily_stream( String filename_str );
+    ~Lily_stream();
+
+    Lily_stream& operator <<( String str );
+    Lily_stream& operator <<( Midi_event& midi_event_r );
+
+    void check_comment( String str );
+    void header();
+    void indent();
+    void newline();
+    void open();
+    void tnedni();
+};
+
+#endif // LILY_STREAM_HH
+