X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fperformer.hh;h=a19334b9bf15bb3ccdab7ee4b6298d42345ec316;hb=da2cbdd4623e5ea51a2a99de4f2935b37195136e;hp=0e6729a81f5a34184c77aa48d8ea14f0f838f3a7;hpb=d61cf3bbdb1c6670a127ba3baddf2f04d3e34fd3;p=lilypond.git diff --git a/lily/include/performer.hh b/lily/include/performer.hh index 0e6729a81f..a19334b9bf 100644 --- a/lily/include/performer.hh +++ b/lily/include/performer.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1996--2012 Han-Wen Nienhuys + Copyright (C) 1996--2015 Han-Wen Nienhuys Jan Nieuwenhuizen LilyPond is free software: you can redistribute it and/or modify @@ -25,14 +25,17 @@ #include "grob-info.hh" #include "translator.hh" -/* Convert a music definition into a audio representation. +/* Convert a music definition into an audio representation. A baseclass. */ class Performer : public Translator { public: - VIRTUAL_COPY_CONSTRUCTOR (Translator, Performer); + DECLARE_CLASSNAME (Performer); friend class Performer_group; Performer_group *get_daddy_performer () const; + Performer (Context *c) + : Translator (c) + { } protected: virtual void announce_element (Audio_element_info); @@ -40,7 +43,5 @@ protected: virtual void create_audio_elements (); }; -Performer *unsmob_performer (SCM perf); - #endif /* PERFORMER_HH */