X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fperformer.hh;h=3e7af707102fc26e9697c7f5940d1510f5e9e804;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=356b0c939b19f76de945e67b4751c71bf91fc7c7;hpb=eeafd68c62481b0d10c292f0e4bfa5d821168c87;p=lilypond.git diff --git a/lily/include/performer.hh b/lily/include/performer.hh index 356b0c939b..3e7af70710 100644 --- a/lily/include/performer.hh +++ b/lily/include/performer.hh @@ -1,36 +1,31 @@ /* performer.hh -- declare Performer - (c) 1996, 1997 Han-Wen Nienhuys - Jan Nieuwenhuizen - */ + (c) 1996--2008 Han-Wen Nienhuys + Jan Nieuwenhuizen +*/ #ifndef PERFORMER_HH #define PERFORMER_HH -#include "lily-proto.hh" -#include "varray.hh" -#include "request.hh" -#include "score-elem-info.hh" -#include "staff-info.hh" +#include "audio-element-info.hh" +#include "grob-info.hh" +#include "translator.hh" -class Performer { +/* Convert a music definition into a audio representation. + A baseclass. */ +class Performer : public Translator +{ public: - NAME_MEMBERS(); - Performer_group_performer* daddy_perf_l_; - - Performer(); - virtual ~Performer(); - - void print() const; - virtual void process_requests(); - virtual bool try_request( Request* req_l ); + VIRTUAL_COPY_CONSTRUCTOR (Translator, Performer); + friend class Performer_group; + Performer_group *get_daddy_performer () const; protected: - virtual void do_print() const; - virtual void play_event( Midi_item* l ); + virtual void announce_element (Audio_element_info); + virtual void acknowledge_audio_element (Audio_element_info); + virtual void create_audio_elements (); }; -#include "global-performers.hh" +#endif /* PERFORMER_HH */ -#endif // PERFORMER_HH