]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/paper-outputter.hh
release: 1.1.28
[lilypond.git] / lily / include / paper-outputter.hh
1 /*
2   paper-outputter.hh -- declare Paper_outputter
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef PAPER_OUTPUTTER_HH
11 #define PAPER_OUTPUTTER_HH
12
13 #include "lily-proto.hh"
14 #include "array.hh"
15 #include "string.hh"
16 #include "lily-guile.hh"
17
18 /**
19   Abstract interface for a Score_element to output itself.
20  */
21 class Paper_outputter
22 {
23 public:
24   Paper_outputter (Paper_stream *);
25   ~Paper_outputter ();
26
27   void output_int_def (String k, int v);
28   void output_Real_def (String k, Real v);
29   void output_String_def (String k, String v);
30   void output_scope (Scope*, String prefix);
31   void output_version ();
32   void output_font_def (int i, String str);
33   void output_font_switch (int i);
34   void output_header ();
35   void output_molecule (Molecule const *, Offset, char const *);
36   void output_comment (String s);
37   void output_scheme (SCM scm);
38   void start_line ();
39   void stop_line ();
40   void switch_to_font (String fontname);
41
42   Paper_stream* outstream_l_;
43 };
44
45 #endif // PAPER_OUTPUTTER_HH