*** empty log message ***
[lilypond.git] / lily / swallow-perf.cc
blobe70149069f4d876430422099d9c50e4fa2836653
1 /*
2 swallow-perf.cc -- implement Swallow_performer
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
9 #include "performer.hh"
11 class Swallow_performer : public Performer
13 public:
14 TRANSLATOR_DECLARATIONS (Swallow_performer);
15 protected:
16 virtual bool try_music (Music*);
19 bool
20 Swallow_performer::try_music (Music *m)
22 if (m->is_mus_type ("busy-playing-event")
23 || m->is_mus_type ("melisma-playing-event"))
24 return false;
25 else
26 return true;
29 Swallow_performer::Swallow_performer ()
32 ENTER_DESCRIPTION (Swallow_performer,
33 /* descr */ "",
34 /* creats*/ "",
35 /* accepts */ "general-music",
36 /* acks */ "",
37 /* reads */ "",
38 /* write */ "");