X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fperformer.hh;h=3e7af707102fc26e9697c7f5940d1510f5e9e804;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=4fb1a298cc703b75324e2fc64023fcda6ca337bd;hpb=57d6628b46ba1d7ed7c9c0ca7f579567d1912b0d;p=lilypond.git diff --git a/lily/include/performer.hh b/lily/include/performer.hh index 4fb1a298cc..3e7af70710 100644 --- a/lily/include/performer.hh +++ b/lily/include/performer.hh @@ -1,29 +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 "audio-element-info.hh" +#include "grob-info.hh" +#include "translator.hh" -class Performer { - Performer_group_performer* daddy_perf_l_; - +/* Convert a music definition into a audio representation. + A baseclass. */ +class Performer : public 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_CONSTRUCTOR (Translator, Performer); + friend class Performer_group; + Performer_group *get_daddy_performer () const; + +protected: + 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