]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/swallow-engraver.hh
release: 1.0.1
[lilypond.git] / lily / include / swallow-engraver.hh
1 /*
2   swallow-engraver.hh -- declare Swallow_engraver
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef SWALLOW_GRAV_HH
11 #define SWALLOW_GRAV_HH
12
13 #include "engraver.hh"
14
15 /**
16   This engraver swallows everything given to it silently. The purpose of
17   this is to prevent spurious "request junked" warnings.
18  */
19 class Swallow_engraver : public Engraver {
20 protected:
21   bool do_try_request (Request*) ;
22 public:
23   TRANSLATOR_CLONE(Swallow_engraver);
24   DECLARE_MY_RUNTIME_TYPEINFO;
25 };
26 #endif // SWALLOW_GRAV_HH