]> git.donarmstrong.com Git - lilypond.git/blob - lily/melisma-performer.cc
* Documentation/user/refman.itely (More stanzas): document slur
[lilypond.git] / lily / melisma-performer.cc
1
2 /*   
3   melisma-performer.cc --  implement Melisma_performer
4   
5   source file of the GNU LilyPond music typesetter
6   
7   (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8   
9  */
10
11 /*
12   copy of melisma-engraver - see there.
13  */
14 #include "performer.hh"
15 #include "event.hh"
16 #include "grob.hh"
17 #include "translator-group.hh"
18
19 /**
20    Signal existence of melismas.
21  */
22 class Melisma_performer : public Performer
23 {
24 public:
25   TRANSLATOR_DECLARATIONS(Melisma_performer);
26   bool try_music (Music *);
27 };
28
29
30 bool
31 Melisma_performer::try_music (Music *) 
32 {
33   /*
34     This can only be melisma-playing-event.
35    */
36   return melisma_busy (this);
37 }
38
39 Melisma_performer::Melisma_performer()
40 {
41 }
42
43 ENTER_DESCRIPTION(Melisma_performer,
44 /* descr */       "This performer collects melisma information about ties, beams, and user settings (@code{melismaBusy}, and signals it to the @code{\addlyrics} code.  ",
45 /* creats*/       "",
46 /* accepts */     "melisma-playing-event",
47 /* acks  */      "",
48 /* reads */       "melismaBusy melismaBusyProperties slurMelismaBusy tieMelismaBusy beamMelismaBusy",
49 /* write */       "");