2 outputter.hh -- declare Outputter
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "lily-proto.hh"
18 Abstract interface for a Score_element to output itself.
22 virtual ~Outputter(){}
23 virtual void start_line ()=0;
24 virtual void output_molecule (Molecule const *, Offset, char const *)=0;
25 virtual void stop_line ()=0;
29 Output a line of score using TeX strings
31 struct Tex_outputter : Outputter
33 Array<String> font_arr_;
36 Tex_outputter (Tex_stream *);
37 Tex_stream * outstream_l_;
38 void switch_to_font (String);
39 virtual void output_molecule (Molecule const*, Offset, char const*);
40 virtual void start_line ();
41 virtual void stop_line ();
44 #endif // OUTPUTTER_HH