X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpiano-pedal-engraver.cc;h=d708ddfcc644de4e1b2193455c37ffb983e0ed8b;hb=f018757016404595c92e21346ae0661dafe7ea46;hp=debc884360ada4adc1a4b66dd59e66b843d86b90;hpb=74fde288702efc2562b08a0edd9c05f5bfa1250a;p=lilypond.git diff --git a/lily/piano-pedal-engraver.cc b/lily/piano-pedal-engraver.cc index debc884360..d708ddfcc6 100644 --- a/lily/piano-pedal-engraver.cc +++ b/lily/piano-pedal-engraver.cc @@ -1,13 +1,24 @@ /* - piano-pedal-engraver.cc -- implement Piano_pedal_engraver + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter - - (c) 2000--2006 Jan Nieuwenhuizen , + Copyright (C) 2000--2010 Jan Nieuwenhuizen , Erik Sandberg Chris Jackson - extended to support bracketed pedals. + + 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 "engraver.hh" @@ -28,6 +39,7 @@ #include "translator.icc" +#include /* TODO: @@ -40,7 +52,7 @@ */ /* Ugh: This declaration is duplicated in piano-pedal-performer */ -typedef enum Pedal_type { +enum Pedal_type { SOSTENUTO, SUSTAIN, UNA_CORDA, @@ -493,7 +505,6 @@ Piano_pedal_engraver::typeset_all (Pedal_info *p) ADD_ACKNOWLEDGER (Piano_pedal_engraver, note_column); ADD_TRANSLATOR (Piano_pedal_engraver, - /* doc */ "Engrave piano pedal symbols and brackets.", @@ -510,6 +521,8 @@ ADD_TRANSLATOR (Piano_pedal_engraver, "pedalSustainStrings " "pedalSustainStyle " "pedalUnaCordaStrings " - "pedalUnaCordaStyle", + "pedalUnaCordaStyle ", - /* write */ ""); + /* write */ + "" + );