/*
- swallow-reg.cc -- implement Swallow_engraver
+ swallow-engraver.cc -- implement Swallow_engraver
source file of the GNU LilyPond music typesetter
- (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#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;
}
{
}
+#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 \"event junked\" warnings.",
+ /* create */ "",
+ /* accept */ "general-music",
+ /* read */ "",
+ /* write */ "");