Format and improve documentation of internal grob properties.
[lilypond.git] / lily / swallow-perf.cc
blob2bd42dfa5cb44ea8cb69098b2895d7e98cc36dd8
1 /*
2 swallow-performer.cc -- implement Swallow_performer
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #include "performer.hh"
10 #include "music.hh"
12 class Swallow_performer : public Performer
14 public:
15 TRANSLATOR_DECLARATIONS (Swallow_performer);
16 protected:
17 virtual bool try_music (Music *);
20 bool
21 Swallow_performer::try_music (Music *m)
23 if (m->is_mus_type ("melisma-playing-event"))
24 return false;
25 else
26 return true;
29 Swallow_performer::Swallow_performer ()
32 #include "translator.icc"
34 ADD_TRANSLATOR (Swallow_performer,
35 /* doc */ "",
36 /* create */ "",
37 /* read */ "",
38 /* write */ "");