]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/breathing-sign-engraver.cc
apply Julian's patch to fix install-info warnings
[lilypond.git] / lily / breathing-sign-engraver.cc
index 5b2ddaff47f1ddf0c670067cdb7a8be695546aa6..4e583881c0dd0dccfc941cee563d33606ffa5724 100644 (file)
@@ -1,15 +1,26 @@
 /*
-  breathing_sign-engraver.cc -- implement Breathing_sign_engraver
+  This file is part of LilyPond, the GNU music typesetter.
 
-  (c) 1999--2006 Michael Krause
+  Copyright (C) 1999--2011 Michael Krause
 
   written for the GNU LilyPond music typesetter
 
   TODO:
 
-  . Cancel any beams running through the breathing sign
-  ([e8 \breathe f e f] should become [e8] \breathe [f e f])
   . Spacing is not yet completely pretty
+
+  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 "breathing-sign.hh"
@@ -42,9 +53,9 @@ Breathing_sign_engraver::Breathing_sign_engraver ()
 
 IMPLEMENT_TRANSLATOR_LISTENER (Breathing_sign_engraver, breathing);
 void
-Breathing_sign_engraver::listen_breathing (Stream_event *r)
+Breathing_sign_engraver::listen_breathing (Stream_event *ev)
 {
-  breathing_sign_event_ = r;
+  ASSIGN_EVENT_ONCE (breathing_sign_event_, ev);
 }
 
 void
@@ -64,8 +75,15 @@ Breathing_sign_engraver::stop_translation_timestep ()
 }
 
 ADD_TRANSLATOR (Breathing_sign_engraver,
-               /* doc */ "",
-               /* create */ "BreathingSign",
-               /* accept */ "breathing-event",
-               /* read */ "",
-               /* write */ "");
+               /* doc */
+               "Create a breathing sign.",
+
+               /* create */
+               "BreathingSign ",
+
+               /* read */
+               "",
+
+               /* write */
+               ""
+               );