From 107c10fb654b0d59b47c722440f601a629b8b350 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 28 Mar 1997 00:20:54 +0000 Subject: [PATCH] lilypond-0.0.46.jcn1 --- lily/include/swallow-reg.hh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lily/include/swallow-reg.hh 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 -- 2.39.5