Format and improve documentation of internal grob properties.
[lilypond.git] / lily / swallow-engraver.cc
blob7d0c851ab0627d80090556a7c024725b3582238c
1 /*
2 swallow-engraver.cc -- implement Swallow_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #include "engraver.hh"
11 class Swallow_engraver : public Engraver
13 public:
14 TRANSLATOR_DECLARATIONS (Swallow_engraver);
15 protected:
16 bool try_music (Music *);
19 bool
20 Swallow_engraver::try_music (Music *)
22 return true;
25 Swallow_engraver::Swallow_engraver ()
29 #include "translator.icc"
31 ADD_TRANSLATOR (Swallow_engraver,
32 /* doc */ "This engraver swallows everything given to it silently. The purpose of "
33 "this is to prevent spurious \"event junked\" warnings.",
34 /* create */ "",
35 /* read */ "",
36 /* write */ "");