]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/paper-outputter.hh
* lily/book.cc (to_stencil): New method.
[lilypond.git] / lily / include / paper-outputter.hh
index 6098856c58218619b97fcc46930d91c7361cf392..c6531ef8c1503d8522b5f149cdc72bfe3c4e0aec 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 class Paper_outputter
 {
   bool verbatim_scheme_b_;
-public:
-
-  SCM output_func_ ;
+  SCM output_module_;
   Protected_scm file_;
-  
-  String basename_;
+  String filename_;
+
+  void output_expr (SCM expr, Offset o);
+  void output_metadata (Paper_def*, SCM);
+  void output_music_output_def (Music_output_def* odef);
+
+public:
   Paper_outputter (String nm);
   ~Paper_outputter ();
-  
-  void dump_scheme (SCM);
 
-  void output_int_def (String k, int v);
-  void output_Real_def (String k, Real v);
-  void output_String_def (String k, String v);
-  void output_scope (SCM, String prefix);
-  void output_version ();
-  void output_font_def (int i, String str);
-  void output_font_switch (int i);
-  void output_header ();
-  void output_comment (String s);
-  void output_string (SCM s);
+  void dump_scheme (SCM);
   void output_scheme (SCM scm);
-
-  void write_header_field_to_file (String filename, SCM, SCM);
-  void write_header_fields_to_file (SCM);
+  void output_stencil (Stencil*);
+  void output_header (Paper_def*, SCM, int, bool);
+  void output_line (SCM, Offset*, bool);
+  void output_page (Page*, bool);
 };
 
-#endif // PAPER_OUTPUTTER_HH
+#endif /* PAPER_OUTPUTTER_HH */