]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/translator.hh
* Another grand 2003 update.
[lilypond.git] / lily / include / translator.hh
index 4b27559aa91c15b246b07ffc5df937d3dc857890..64a7aba4ecf4e144a806a7f701a21275885e01dd 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
@@ -70,15 +70,6 @@ public:
 public:
   Global_translator * top_translator () const;
   TRANSLATOR_DECLARATIONS(Translator);
-    /**
-    try to fit the request in this engraver
-
-    @return
-    false: not noted,  not taken.
-
-    true: request swallowed. Don't try to put the request elsewhere.
-
-    */
   virtual bool try_music (Music *req);
   virtual void stop_translation_timestep ();
   virtual void start_translation_timestep ();
@@ -109,7 +100,7 @@ ADD_GLOBAL_CTOR (_ ## T ## _adder);
 
 
 
-#define ENTER_DESCRIPTION(classname,desc,grobs,acked,read,write)                                               \
+#define ENTER_DESCRIPTION(classname,desc,grobs,accepted,acked,read,write)                                              \
 ADD_THIS_TRANSLATOR (classname);\
 SCM                                                                                            \
 classname::static_translator_description () const \
@@ -126,6 +117,8 @@ classname::static_translator_description () const \
                                                                                                \
   static_properties= scm_acons (ly_symbol2scm ("interfaces-acked"),                            \
                              parse_symbol_list (acked), static_properties);                    \
+  static_properties= scm_acons (ly_symbol2scm ("events-accepted"),                             \
+                             parse_symbol_list (accepted), static_properties);                 \
                                                                                                \
   static_properties= scm_acons (ly_symbol2scm ("properties-read"),                             \
                              parse_symbol_list (read), static_properties);                     \