Use scalar instead of embedded_scm for context mod overrides.
[lilypond/mpolesky.git] / lily / string-number-engraver.cc
blob3eb0b538afbc7335a0a566f82cb3056dd164769c
1 /*
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>
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 */
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.",
44 /* create */
45 "",
47 /* read */
48 "",
50 /* write */