]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/swallow-grav.hh
release: 0.1.13
[lilypond.git] / lily / include / swallow-grav.hh
1 /*
2   swallow-grav.hh -- declare Swallow_engraver
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.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 acceptable_request_b (Request*) const;
22   bool do_try_request (Request*) ;
23 public:
24   TRANSLATOR_CLONE(Swallow_engraver);
25   DECLARE_MY_RUNTIME_TYPEINFO;
26 };
27 #endif // SWALLOW_GRAV_HH