X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ftempo-performer.cc;h=7d32d3b61245acff7731cca0c6fea3573e31dc8f;hb=ca7baa2950c23337825b1c5f6e22e8fd514cd648;hp=19a453f01bbb8cf6240ec196c563320bec19e3c8;hpb=645b1fa5e767ffda3e45df33e2348729526eef90;p=lilypond.git diff --git a/lily/tempo-performer.cc b/lily/tempo-performer.cc index 19a453f01b..7d32d3b612 100644 --- a/lily/tempo-performer.cc +++ b/lily/tempo-performer.cc @@ -1,9 +1,20 @@ /* - tempo-performer.cc -- implement Tempo_performer + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1997--2012 Jan Nieuwenhuizen - (c) 1997--2006 Jan Nieuwenhuizen + 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 "performer.hh" @@ -22,12 +33,12 @@ public: protected: - virtual void derived_mark () const; + virtual void derived_mark () const; void stop_translation_timestep (); void process_music (); private: Audio_tempo *audio_; - SCM last_tempo_; + SCM last_tempo_; }; void @@ -38,6 +49,7 @@ Tempo_performer::derived_mark () const Tempo_performer::Tempo_performer () { + last_tempo_ = SCM_EOL; audio_ = 0; } @@ -73,7 +85,16 @@ Tempo_performer::stop_translation_timestep () } } -ADD_TRANSLATOR (Tempo_performer, "", "", - "", - "tempoWholesPerMinute ", - ""); +ADD_TRANSLATOR (Tempo_performer, + /* doc */ + "", + + /* create */ + "", + + /* read */ + "tempoWholesPerMinute ", + + /* write */ + "" + );