]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/translation-property.hh
* Another grand 2003 update.
[lilypond.git] / lily / include / translation-property.hh
1 #if 0
2 /*
3   translation-property.hh -- declare Translation_property
4
5   source file of the GNU LilyPond music typesetter
6
7   (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
9
10
11 #ifndef TRANSLATION_PROPERTY_HH
12 #define TRANSLATION_PROPERTY_HH
13
14 #include "music.hh"
15
16
17 /**
18   Set a property of Translator
19
20   value -- the value to set
21   symbol -- the symbol to set.
22
23 */
24 class Translation_property : public Music
25 {
26 public:
27   Translation_property ();
28   VIRTUAL_COPY_CONS (Music);
29 };
30
31 /**
32    Push onto basic property list.
33    
34   symbols -- list of basic-property lists
35
36   element-property -- element property name
37
38   element-value -- element property value
39   
40  */
41 class Push_translation_property : public Music
42 {
43 public:
44   VIRTUAL_COPY_CONS (Music);
45 };
46
47 /**
48   Restore previous setting.
49
50   symbols -- list of basic-property lists
51
52   element-property -- element property name
53  */
54 class Pop_translation_property : public Music
55 {
56 public:
57   VIRTUAL_COPY_CONS (Music);
58 };
59
60
61 void apply_push_property (Translator_group*trans, SCM syms, SCM eprop, SCM val);
62 void apply_pop_property (Translator_group*trans, SCM syms, SCM eprop);
63
64
65 #endif // PROPERTY_HH
66 #endif