source file of the GNU LilyPond music typesetter
- (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
-
#ifndef PAPER_OUTPUTTER_HH
#define PAPER_OUTPUTTER_HH
#include "lily-proto.hh"
-#include "array.hh"
-#include "string.hh"
-#include "lily-guile.hh"
+#include "std-vector.hh"
+#include "std-string.hh"
#include "protected-scm.hh"
+#include "smobs.hh"
/*
Glue between the backend (grobs, systems, pages) and the output file.
class Paper_outputter
{
SCM output_module_;
- String filename_;
+ string file_name_;
SCM file_;
- SCM file ();
-
public:
- DECLARE_SMOBS (Paper_outputter,);
+ DECLARE_SMOBS (Paper_outputter);
public:
+ SCM file () const;
SCM dump_string (SCM);
void output_scheme (SCM scm);
- Paper_outputter (String nm, String format);
+ Paper_outputter (SCM port, string format);
SCM scheme_to_string (SCM);
void output_stencil (Stencil);
+ void close ();
};
-Paper_outputter *get_paper_outputter (String, String);
+Paper_outputter *get_paper_outputter (string, string);
DECLARE_UNSMOB (Paper_outputter, outputter);
#endif /* PAPER_OUTPUTTER_HH */