X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fperformer.hh;h=92b2d77be05a238e7923f8100ccaedcb4fdf6aaa;hb=f1baf9749eb3315b6f58622e084fc34295bccea7;hp=4fb1a298cc703b75324e2fc64023fcda6ca337bd;hpb=57d6628b46ba1d7ed7c9c0ca7f579567d1912b0d;p=lilypond.git diff --git a/lily/include/performer.hh b/lily/include/performer.hh index 4fb1a298cc..92b2d77be0 100644 --- a/lily/include/performer.hh +++ b/lily/include/performer.hh @@ -1,29 +1,33 @@ /* performer.hh -- declare Performer - (c) 1996, 1997 Han-Wen Nienhuys - Jan Nieuwenhuizen + (c) 1996, 1997--1999 Han-Wen Nienhuys + Jan Nieuwenhuizen */ #ifndef PERFORMER_HH #define PERFORMER_HH #include "lily-proto.hh" - -class Performer { - Performer_group_performer* daddy_perf_l_; - +#include "array.hh" +#include "request.hh" +#include "score-element-info.hh" +#include "staff-info.hh" +#include "translator.hh" + +/** + Convert a music definition into a audio representation. + A baseclass + */ +class Performer : public virtual Translator{ public: - NAME_MEMBERS(); - Performer(); - virtual ~Performer(); - - void print() const; - - virtual void play_event( Midi_item i ); - virtual bool try_request( Request* req_l ); + VIRTUAL_COPY_CONS(Translator); + + Performer_group_performer* daddy_perf_l() const; +protected: + virtual int get_tempo_i() const; + virtual void play (Audio_element * elem_p ); }; -#include "global-performers.hh" #endif // PERFORMER_HH