]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/custos-engraver.cc
Imported Upstream version 2.14.2
[lilypond.git] / lily / custos-engraver.cc
index 82381b764ca012b4d40c1316cef7f8f9a09d33af..f1111e829e5bdf033ed1c3e670002bba50085782 100644 (file)
@@ -1,10 +1,21 @@
 /*
-  custos-engraver.cc -- implement Custos_engraver
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
-
-  (c) 2000--2006 Juergen Reuter <reuter@ipd.uka.de>,
+  Copyright (C) 2000--2011 Juergen Reuter <reuter@ipd.uka.de>,
   Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+  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 <http://www.gnu.org/licenses/>.
 */
 
 #include "engraver.hh"
@@ -65,9 +76,8 @@ Custos_engraver::start_translation_timestep ()
 }
 
 void
-Custos_engraver::acknowledge_bar (Grob_info info)
+Custos_engraver::acknowledge_bar (Grob_info /* info */)
 {
-  (void) info;
   custos_permitted_ = true;
 }
 
@@ -137,8 +147,15 @@ ADD_ACKNOWLEDGER (Custos_engraver, bar);
 ADD_ACKNOWLEDGER (Custos_engraver, note_head);
 
 ADD_TRANSLATOR (Custos_engraver,
-               /* doc */ "",
-               /* create */ "Custos",
-               /* accept */ "",
-               /* read */ "",
-               /* write */ "");
+               /* doc */
+               "Engrave custodes.",
+
+               /* create */
+               "Custos ",
+
+               /* read */
+               "",
+
+               /* write */
+               ""
+               );