2 swallow-performer.cc -- implement Swallow_performer
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #include "performer.hh"
13 class Swallow_performer : public Performer
16 TRANSLATOR_DECLARATIONS (Swallow_performer);
18 virtual bool try_music (Music *);
22 Swallow_performer::try_music (Music *m)
24 if (m->is_mus_type ("busy-playing-event")
25 || m->is_mus_type ("melisma-playing-event"))
31 Swallow_performer::Swallow_performer ()
34 ADD_TRANSLATOR (Swallow_performer,
37 /* accepts */ "general-music",