X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fswallow-engraver.cc;h=37a2148dbf140b55944820e2a31714ce02b4b679;hb=95a2da1c1a4837109b1f148539c074c00b73f340;hp=43fab996870d7ec4d970eca0f02b102e4d3d0b61;hpb=e24df7c27635dc996c466295eacf2981bddccaf7;p=lilypond.git diff --git a/lily/swallow-engraver.cc b/lily/swallow-engraver.cc index 43fab99687..37a2148dbf 100644 --- a/lily/swallow-engraver.cc +++ b/lily/swallow-engraver.cc @@ -1,27 +1,23 @@ /* - swallow-reg.cc -- implement Swallow_engraver + swallow-engraver.cc -- implement Swallow_engraver source file of the GNU LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ #include "engraver.hh" -/** - */ class Swallow_engraver : public Engraver { public: TRANSLATOR_DECLARATIONS (Swallow_engraver); protected: - bool try_music (Music*) ; + bool try_music (Music *); }; - - bool -Swallow_engraver::try_music (Music*) +Swallow_engraver::try_music (Music *) { return true; } @@ -30,11 +26,20 @@ Swallow_engraver::Swallow_engraver () { } +#include "translator.icc" + ADD_TRANSLATOR (Swallow_engraver, -/* descr */ "This engraver swallows everything given to it silently. The purpose of " - "this is to prevent spurious \"event junked\" warnings.", -/* creats*/ "", -/* accepts */ "general-music", -/* acks */ "", -/* reads */ "", -/* write */ ""); + /* doc */ + "This engraver swallows everything given to it silently." + " The purpose of this is to prevent spurious @q{event junked}" + " warnings.", + + /* create */ + "", + + /* read */ + "", + + /* write */ + "" + );