+/*
+ forbid-break-engraver.cc -- implement Forbid_line_break_engraver
+
+ source file of the GNU LilyPond music typesetter
+
+ (c) 2002--_2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
#include "rhythmic-head.hh"
#include "grob.hh"
#include "score-engraver.hh"
{
/*
Check for running note heads. This should probably be done elsewhere.
- */
+ */
SCM busy = get_property ("busyGrobs");
Moment now = now_mom ();
while (scm_is_pair (busy) && unsmob_moment (scm_caar (busy))->main_part_ == now.main_part_)
busy = scm_cdr (busy);
-
while (scm_is_pair (busy))
{
Grob *g = unsmob_grob (scm_cdar (busy));
}
}
-
-ENTER_DESCRIPTION (Forbid_line_break_engraver,
-/* descr */ "Forbid line breaks when note heads are still playing at some point.",
-/* creats*/ "",
-/* accepts */ "",
-/* acks */ "",
-/* reads */ "busyGrobs",
-/* write */ "");
+ADD_TRANSLATOR (Forbid_line_break_engraver,
+ /* descr */ "Forbid line breaks when note heads are still playing at some point.",
+ /* creats*/ "",
+ /* accepts */ "",
+ /* acks */ "",
+ /* reads */ "busyGrobs",
+ /* write */ "");