2002->2003
[lilypond.git] / lily / swallow-engraver.cc
blob989e78c271fd4b569d7dd924b154a0a7bbf7c32a
1 /*
2 swallow-reg.cc -- implement Swallow_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
9 #include "engraver.hh"
11 /**
12 This engraver swallows everything given to it silently. The purpose of
13 this is to prevent spurious "event junked" warnings.
15 class Swallow_engraver : public Engraver
17 public:
18 TRANSLATOR_DECLARATIONS(Swallow_engraver);
19 protected:
20 bool try_music (Music*) ;
25 bool
26 Swallow_engraver::try_music (Music*)
28 return true;