X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fperformer.cc;h=871367af158673b72d5ad22f0ab99c77128ee8e2;hb=7a2766a80beb907df0b291584c1a84b6b4fe4c4f;hp=7add5ba193149b478ba252f285cfe89032f66f30;hpb=474c8729dc274a30558102a015a01fa5882673db;p=lilypond.git diff --git a/lily/performer.cc b/lily/performer.cc index 7add5ba193..871367af15 100644 --- a/lily/performer.cc +++ b/lily/performer.cc @@ -1,13 +1,25 @@ /* - performer.cc -- implement Performer + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter - - (c) 1996--2007 Han-Wen Nienhuys + Copyright (C) 1996--2011 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 . */ #include "context.hh" +#include "performer.hh" #include "performer-group.hh" #include "warn.hh" @@ -37,3 +49,9 @@ Performer::announce_element (Audio_element_info i) get_daddy_performer ()->announce_element (i); } + +Performer * +unsmob_performer (SCM perf) +{ + return dynamic_cast (unsmob_translator (perf)); +}