]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/swallow-reg.hh
release: 0.0.71pre
[lilypond.git] / lily / include / swallow-reg.hh
1 /*
2   swallow-reg.hh -- declare Swallow_register
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_REG_HH
11 #define SWALLOW_REG_HH
12
13 #include "register.hh"
14
15 /**
16   This register swallows everything given to it silently. The purpose of
17   this is to prevent spurious "request junked" warnings.
18  */
19 class Swallow_register : public Request_register {
20 protected:
21     bool acceptable_request_b(Request*) const;
22     bool do_try_request(Request*) ;
23 public:
24     NAME_MEMBERS();
25 };
26 #endif // SWALLOW_REG_HH