2 string-number-engraver.cc -- implement String_number_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 2005--2009 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
,
39 "Swallow string number events. The purpose of this engraver"
40 " is to process tablatures for normal notation. To provent"
41 " warnings for unprocessed string number events to obscure"
42 " real error messages, this engraver swallows them all.",