]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/paper-outputter.hh
release: 1.1.0
[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_font_def (int i, String str);
28   void output_font_switch (int i);
29   void output_header ();
30   void output_molecule (Molecule const *, Offset, char const *);
31   void output_comment (String s);
32   void output_scheme (SCM scm);
33   void output_string (String s);
34   void start_line ();
35   void stop_line ();
36   void switch_to_font (String fontname);
37
38   Array<String> font_arr_;
39   String current_font_;
40   Paper_stream* outstream_l_;
41 };
42
43 #endif // PAPER_OUTPUTTER_HH