X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fforbid-break-engraver.cc;h=b1d89ddf24380ade44a7adba2a249e4542d7229d;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=14471e8ec62b944102fe12d516b5725760a8dd91;hpb=e03b2923c10e1c33238a4f2ecf78714bf829e758;p=lilypond.git diff --git a/lily/forbid-break-engraver.cc b/lily/forbid-break-engraver.cc index 14471e8ec6..b1d89ddf24 100644 --- a/lily/forbid-break-engraver.cc +++ b/lily/forbid-break-engraver.cc @@ -1,18 +1,28 @@ /* - forbid-break-engraver.cc -- implement Forbid_line_break_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2002--_2005 Han-Wen Nienhuys - (c) 2002--_2005 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ +#include "context.hh" #include "duration.hh" -#include "grob.hh" #include "engraver.hh" +#include "grob.hh" #include "input.hh" -#include "moment.hh" #include "pitch.hh" #include "rhythmic-head.hh" -#include "score-context.hh" #include "translator.icc" @@ -49,9 +59,16 @@ Forbid_line_break_engraver::start_translation_timestep () } ADD_TRANSLATOR (Forbid_line_break_engraver, - /* doc */ "Forbid line breaks when note heads " - "are still playing at some point.", - /* create */ "", - /* accept */ "", - /* read */ "busyGrobs", - /* write */ "forbidBreak"); + /* doc */ + "Forbid line breaks when note heads are still playing at some" + " point.", + + /* create */ + "", + + /* read */ + "busyGrobs ", + + /* write */ + "forbidBreak " + );