]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/swallow-engraver.cc
(try_music): add moments for
[lilypond.git] / lily / swallow-engraver.cc
index 3696bb6f269245debb3e47b042ec25e2ff241d89..92ced08887665119df3e8557559fc05ca38dbc9d 100644 (file)
@@ -3,19 +3,17 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "engraver.hh"
 
 /**
-  This engraver swallows everything given to it silently. The purpose of
-  this is to prevent spurious "event junked" warnings.
  */
 class Swallow_engraver : public Engraver
 {
 public:
-  TRANSLATOR_DECLARATIONS(Swallow_engraver);
+  TRANSLATOR_DECLARATIONS (Swallow_engraver);
 protected:
   bool try_music (Music*) ;
 };
@@ -27,3 +25,16 @@ Swallow_engraver::try_music (Music*)
 {
   return true;
 }
+
+Swallow_engraver::Swallow_engraver ()
+{
+}
+
+ENTER_DESCRIPTION (Swallow_engraver,
+/* descr */       "This engraver swallows everything given to it silently. The purpose of "
+                 "this is to prevent spurious \"event junked\" warnings.",
+/* creats*/       "",
+/* accepts */     "general-music",
+/* acks  */       "",
+/* reads */       "",
+/* write */       "");