* lexer-gcc-3.1.sh: Remove.
[lilypond/patrick.git] / lily / string-number-engraver.cc
blob45cc2664d0b8acb889f5694219599c3e272ed69a
1 /*
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>
7 */
9 #include "engraver.hh"
11 // Junk String numbers.
12 class String_number_engraver : public Engraver
14 public:
15 TRANSLATOR_DECLARATIONS (String_number_engraver);
16 protected:
17 virtual bool try_music (Music *m);
20 bool
21 String_number_engraver::try_music (Music *)
23 return true;
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.",
43 /* create */ "",
44 /* accept */ "string-number-event",
45 /* read */ "",
46 /* write */ "");