]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/music-output-def.hh
* lily/global-context.cc (run_iterator_on_me): fix grace note
[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--2004 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 #include "input.hh"
19
20 /**
21   Definition of how to output lilypond.
22  */
23 class Music_output_def   
24 {
25 public:
26   Scheme_hash_table * translator_tab_;
27   Input input_origin_;
28   
29   SCM scope_;
30   SCM scaled_fonts_;
31   
32   Music_output_def (Music_output_def const&);
33   Music_output_def ();
34   VIRTUAL_COPY_CONSTRUCTOR (Music_output_def, Music_output_def);
35
36   Context *get_group_translator (String type) const;
37   void assign_context_def (SCM transdef);
38   SCM find_context_def (SCM name) const;
39   String outname_string () ;
40   SCM get_scmvar (String id)const;
41   SCM lookup_variable (SCM sym) const;
42   void set_variable (SCM, SCM sym);
43   
44   DECLARE_SMOBS (Music_output_def,);
45 };
46
47 DECLARE_UNSMOB(Music_output_def,music_output_def);
48 #endif // Music_output_DEF_HH