]> git.donarmstrong.com Git - lilypond.git/blob - lily/string-number-engraver.cc
* lily/kpath.cc:
[lilypond.git] / lily / string-number-engraver.cc
1 /*
2   Junk String numbers.
3   
4  */
5
6 #include "engraver.hh"
7
8 class String_number_engraver : public Engraver
9 {
10 public:
11   TRANSLATOR_DECLARATIONS (String_number_engraver);
12 protected:
13   virtual bool try_music (Music* m);
14 };
15
16
17 bool
18 String_number_engraver::try_music (Music * )
19 {
20   return true;
21 }
22
23 String_number_engraver::String_number_engraver ()
24 {
25
26 }
27
28 /*
29   TODO: string numbers are printed right of the note circled. This
30   engraver should provide this functionality.
31   
32  */
33
34 ADD_TRANSLATOR (String_number_engraver,
35 /* descr */       "Swallow string-number-events - the purpose of this engraver is to"
36 " process tab for normal notation. To provent warnings for unprocessed "
37 " string-number-event to obscure real error messages, this engraver "
38 " swallows them all.",
39                   
40 /* creats*/       "",
41 /* accepts */     "string-number-event",
42 /* acks  */      "",
43 /* reads */       "",
44 /* write */       "");