X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fswallow-engraver.cc;h=0b6a7248171fa702f5e917a5aef3b7beac58c08b;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=674464220a9016bdaece4ca0b8af0b2f893a5191;hpb=b5b00b10f242e4d22e352c8a0d61c384bf205277;p=lilypond.git diff --git a/lily/swallow-engraver.cc b/lily/swallow-engraver.cc index 674464220a..0b6a724817 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--2003 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ #include "engraver.hh" -/** - */ class Swallow_engraver : public Engraver { public: - TRANSLATOR_DECLARATIONS(Swallow_engraver); + 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 () { } -ENTER_DESCRIPTION(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 */ ""); +#include "translator.icc" + +ADD_TRANSLATOR (Swallow_engraver, + /* doc */ + "This engraver swallows everything given to it silently." + " The purpose of this is to prevent spurious @q{event junked}" + " warnings.", + + /* create */ + "", + + /* read */ + "", + + /* write */ + "" + );