X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fscore-performer.hh;h=8eb67b3f29cd584d8c10a082b87243b15ae37117;hb=2944a83e59f487894a214769392ce27289accb71;hp=f98dd18dd549be2ceb72a436db41361838f4bf97;hpb=b3cf2199183a184c7eef9a9f8f3c9a691db1f0ad;p=lilypond.git diff --git a/lily/include/score-performer.hh b/lily/include/score-performer.hh index f98dd18dd5..8eb67b3f29 100644 --- a/lily/include/score-performer.hh +++ b/lily/include/score-performer.hh @@ -1,8 +1,21 @@ /* - score-performer.hh -- declare Score_performer + This file is part of LilyPond, the GNU music typesetter. - (c) 1996--2006 Han-Wen Nienhuys + Copyright (C) 1996--2012 Han-Wen Nienhuys 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 . */ #ifndef SCORE_PERFORMER_HH @@ -10,20 +23,19 @@ #include "moment.hh" #include "performer-group.hh" -#include "score-translator.hh" /** Top level performer. Completely takes care of MIDI output */ -class Score_performer : public Score_translator, - public virtual Performer_group +class Score_performer : public Performer_group { public: VIRTUAL_COPY_CONSTRUCTOR (Translator_group, Score_performer); - ~Score_performer (); Performance *performance_; + ~Score_performer (); Score_performer (); + protected: DECLARE_LISTENER (finish); DECLARE_LISTENER (prepare); @@ -34,10 +46,8 @@ protected: virtual void disconnect_from_context (); virtual void initialize (); virtual void announce_element (Audio_element_info); - virtual int get_tempo () const; - virtual void play_element (Audio_element *p); - virtual SCM get_output (); virtual void derived_mark () const; + virtual void acknowledge_audio_elements (); private: void header (Midi_stream &);