X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fswallow-perf.cc;h=d24b9339a490d8c5ad754146b171a2bedcfacbbc;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=634cad9791cfb95b605d483384efb413460352b7;hpb=f2c2c5c43858f323e4708f83fd97e0f38017c275;p=lilypond.git diff --git a/lily/swallow-perf.cc b/lily/swallow-perf.cc index 634cad9791..d24b9339a4 100644 --- a/lily/swallow-perf.cc +++ b/lily/swallow-perf.cc @@ -3,13 +3,12 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2008 Han-Wen Nienhuys */ #include "performer.hh" #include "music.hh" - class Swallow_performer : public Performer { public: @@ -21,8 +20,7 @@ protected: bool Swallow_performer::try_music (Music *m) { - if (m->is_mus_type ("busy-playing-event") - || m->is_mus_type ("melisma-playing-event")) + if (m->is_mus_type ("melisma-playing-event")) return false; else return true; @@ -34,8 +32,15 @@ Swallow_performer::Swallow_performer () #include "translator.icc" ADD_TRANSLATOR (Swallow_performer, - /* descr */ "", - /* creats*/ "", - /* accepts */ "general-music", - /* reads */ "", - /* write */ ""); + /* doc */ + "", + + /* create */ + "", + + /* read */ + "", + + /* write */ + "" + );