]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/key-performer.cc
release: 1.0.17
[lilypond.git] / lily / key-performer.cc
index 160dee4a64a72c015b4a377aed084b4689ecd687..02e80fca2891fe469aec3c8005cb28d41f8a6b75 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Jan Nieuwenhuizen <jan@digicash.com>
+  (c)  1997--1998 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "key-performer.hh"
@@ -13,7 +13,7 @@
 
 
 IMPLEMENT_IS_TYPE_B1(Key_performer,Performer);
-ADD_THIS_PERFORMER(Key_performer);
+ADD_THIS_TRANSLATOR(Key_performer);
 
 Key_performer::Key_performer()
 {
@@ -34,7 +34,7 @@ Key_performer::do_print() const
 }
 
 void
-Key_performer::process_requests()
+Key_performer::do_process_requests()
 {
   if (key_req_l_)
        play (new Audio_key (key_req_l_));
@@ -47,8 +47,8 @@ Key_performer::do_try_request (Request* req_l)
   if (key_req_l_)
        return false;
 
-  if (req_l->command())
-       key_req_l_ = req_l->command()->keychange ();
+  if (req_l->access_Command_req ())
+       key_req_l_ = req_l->access_Command_req ()->access_Key_change_req ();
 
   if (key_req_l_)
        return true;