]> git.donarmstrong.com Git - lilypond.git/blob - lily/performer.cc
7add5ba193149b478ba252f285cfe89032f66f30
[lilypond.git] / lily / performer.cc
1 /*
2   performer.cc -- implement Performer
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1996--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7   Jan Nieuwenhuizen <janneke@gnu.org>
8 */
9
10 #include "context.hh"
11 #include "performer-group.hh"
12 #include "warn.hh"
13
14
15 Performer_group *
16 Performer::get_daddy_performer () const
17 {
18   return
19     dynamic_cast<Performer_group *> (get_daddy_translator ());
20 }
21
22 void
23 Performer::acknowledge_audio_element (Audio_element_info)
24 {
25 }
26
27 void
28 Performer::create_audio_elements ()
29 {
30 }
31
32 void
33 Performer::announce_element (Audio_element_info i)
34 {
35   if (!i.origin_trans_)
36     i.origin_trans_ = this;
37
38   get_daddy_performer ()->announce_element (i);
39 }