2 string-number-engraver.cc -- implement String_number_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
11 // Junk String numbers.
12 class String_number_engraver
: public Engraver
15 TRANSLATOR_DECLARATIONS (String_number_engraver
);
17 virtual bool try_music (Music
*m
);
21 String_number_engraver::try_music (Music
*)
26 String_number_engraver::String_number_engraver ()
31 TODO: string numbers are printed right of the note circled. This
32 engraver should provide this functionality.
35 #include "translator.icc"
37 ADD_TRANSLATOR (String_number_engraver
,
38 /* doc */ "Swallow string-number-events - the purpose of this engraver is to"
39 " process tab for normal notation. To provent warnings for unprocessed "
40 " string-number-event to obscure real error messages, this engraver "
41 " swallows them all.",
44 /* accept */ "string-number-event",