From: fred Date: Fri, 28 Mar 1997 00:20:54 +0000 (+0000) Subject: lilypond-0.0.46.jcn1 X-Git-Tag: release/1.5.59~6166 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=107c10fb654b0d59b47c722440f601a629b8b350;p=lilypond.git lilypond-0.0.46.jcn1 --- diff --git a/lily/include/swallow-reg.hh b/lily/include/swallow-reg.hh new file mode 100644 index 0000000000..9785fa29ac --- /dev/null +++ b/lily/include/swallow-reg.hh @@ -0,0 +1,26 @@ +/* + swallow-reg.hh -- declare Swallow_register + + source file of the LilyPond music typesetter + + (c) 1997 Han-Wen Nienhuys +*/ + + +#ifndef SWALLOW_REG_HH +#define SWALLOW_REG_HH + +#include "register.hh" + +/** + This register swallows everything given to it silently. The purpose of + this is to prevent spurious "request junked" warnings. + */ +class Swallow_register : public Request_register { +protected: + bool acceptable_request_b(Request*) const; + bool try_request(Request*) ; +public: + NAME_MEMBERS(Swallow_register); +}; +#endif // SWALLOW_REG_HH