X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fswallow-perf.cc;h=2bd42dfa5cb44ea8cb69098b2895d7e98cc36dd8;hb=5c283c1e1a704754f459406e7d81ee36d40dbf0b;hp=92c7c4ba9c0bd971732f25a43d82c7fb9bc1806f;hpb=58bcc84c9480dae1b21bc24d8396b91fe19e0131;p=lilypond.git diff --git a/lily/swallow-perf.cc b/lily/swallow-perf.cc index 92c7c4ba9c..2bd42dfa5c 100644 --- a/lily/swallow-perf.cc +++ b/lily/swallow-perf.cc @@ -3,10 +3,11 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ #include "performer.hh" +#include "music.hh" class Swallow_performer : public Performer { @@ -19,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; @@ -29,10 +29,10 @@ Swallow_performer::try_music (Music *m) Swallow_performer::Swallow_performer () {} +#include "translator.icc" + ADD_TRANSLATOR (Swallow_performer, - /* descr */ "", - /* creats*/ "", - /* accepts */ "general-music", - /* acks */ "", - /* reads */ "", + /* doc */ "", + /* create */ "", + /* read */ "", /* write */ "");