]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/music-output-def.hh
release: 1.5.47
[lilypond.git] / lily / include / music-output-def.hh
1 /*
2   music-output-def.hh -- declare Music_output_def
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef Music_output_DEF_HH
11 #define Music_output_DEF_HH
12
13 #include "string.hh"
14 #include "lily-proto.hh"
15 #include "lily-guile.hh"
16 #include "virtual-methods.hh"
17 #include "smobs.hh"
18
19 /**
20   Definition of how to output lilypond.
21  */
22 class Music_output_def  
23 {
24 public:
25   Scheme_hash_table * translator_tab_;
26   Scheme_hash_table * variable_tab_;  
27
28
29   SCM scaled_fonts_;
30   SCM style_sheet_;
31   
32   VIRTUAL_COPY_CONS (Music_output_def);
33   Music_output_def (Music_output_def const&);
34   Music_output_def ();
35   virtual int get_next_score_count () const;
36
37   Global_translator *get_global_translator_p ();
38   Translator_group *get_group_translator_p (String type) const;
39   void assign_translator (SCM transdef);
40   SCM find_translator_l (SCM name) const;
41   String outname_str () ;
42   
43   DECLARE_SMOBS (Music_output_def,);
44 };
45
46 DECLARE_UNSMOB(Music_output_def,music_output_def);
47 #endif // Music_output_DEF_HH