2 key-performer.cc -- implement Key_performer
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Jan Nieuwenhuizen <janneke@gnu.org>
9 #include "key-performer.hh"
10 #include "command-request.hh"
11 #include "audio-item.hh"
15 IMPLEMENT_IS_TYPE_B1(Key_performer,Performer);
16 ADD_THIS_TRANSLATOR(Key_performer);
18 Key_performer::Key_performer()
23 Key_performer::~Key_performer()
28 Key_performer::do_print() const
37 Key_performer::do_process_requests()
40 play (new Audio_key (key_req_l_));
45 Key_performer::do_try_request (Request* req_l)
47 if (Key_change_req *kc = dynamic_cast <Key_change_req *> (req_l))
50 warning ("FIXME. Key change merge");