]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/translation-property.hh
2003 -> 2004
[lilypond.git] / lily / include / translation-property.hh
index 3e55b46a6103e3663d0210af2bd90499ca89a712..d5dc380628e2fc222688501caca2ac6b7de03f5c 100644 (file)
@@ -1,9 +1,10 @@
+#if 0
 /*
   translation-property.hh -- declare Translation_property
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #define TRANSLATION_PROPERTY_HH
 
 #include "music.hh"
-#include "scalar.hh"
+
 
 /**
-  Set a property of Translator 
- */
+  Set a property of Translator
+
+  value -- the value to set
+  symbol -- the symbol to set.
+
+*/
 class Translation_property : public Music
 {
 public:
-  String var_str_;
-  Scalar value_;
-  VIRTUAL_COPY_CONS(Music);
+  Translation_property ();
+  VIRTUAL_COPY_CONS (Music);
+};
+
+/**
+   Push onto basic property list.
+   
+  symbols -- list of basic-property lists
+
+  element-property -- element property name
+
+  element-value -- element property value
   
-protected:
-  virtual void do_print () const;
+ */
+class Push_translation_property : public Music
+{
+public:
+  VIRTUAL_COPY_CONS (Music);
+};
+
+/**
+  Restore previous setting.
+
+  symbols -- list of basic-property lists
+
+  element-property -- element property name
+ */
+class Pop_translation_property : public Music
+{
+public:
+  VIRTUAL_COPY_CONS (Music);
 };
 
+
+void apply_push_property (Translator_group*trans, SCM syms, SCM eprop, SCM val);
+void apply_pop_property (Translator_group*trans, SCM syms, SCM eprop);
+
+
 #endif // PROPERTY_HH
+#endif