]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/translator-def.hh
release: 1.5.17
[lilypond.git] / lily / include / translator-def.hh
index 1fcfc37ab5f28cdb9c31744fc0144a119e85477a..fd6d42fd77b8e80ffd574d5a961d76a3651a3b9c 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2000--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
@@ -31,6 +31,7 @@ private:
   SCM property_ops_;
 public:
   SCM type_name_;
+  SCM type_aliases_;
   SCM translator_group_type_;
 
   SCM modify_definition (SCM, SCM, bool);
@@ -47,6 +48,8 @@ public:
   Link_array<Translator_def> path_to_acceptable_translator (SCM type_str, Music_output_def* odef) const;
   Translator_group * instantiate (Music_output_def*);
 
+  SCM to_alist () const;
+
   static SCM make_scm () ;
   static void apply_pushpop_property (Translator_group*, SCM syms, SCM eprop, SCM val);
 
@@ -54,14 +57,14 @@ public:
   void apply_property_operations (Translator_group*);
 
 private:
-  DECLARE_SMOBS(Translator_def,foo);
+  DECLARE_SMOBS (Translator_def,foo);
   Translator_def ();
   Translator_def (Translator_def const&);
 
 
 };
 
-Translator_def* unsmob_translator_def (SCM);
+DECLARE_UNSMOB(Translator_def,translator_def);
 
 
 #endif /* TRANSLATOR_DEF_HH */