]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-performer.cc
release: 1.5.29
[lilypond.git] / lily / lyric-performer.cc
index 28551a700bc238fa1b7221e14ea9c1882046704c..fe5ca56d119670bda44b18c52c84d3e1b4f8f678 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2001 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c)  1997--2002 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "musical-request.hh"
@@ -14,9 +14,7 @@
 
 class Lyric_performer : public Performer {
 public:
-  VIRTUAL_COPY_CONS(Translator);
- Lyric_performer ();
-
+  TRANSLATOR_DECLARATIONS(Lyric_performer);
 protected:
 
   virtual bool try_music (Music* req_l);
@@ -28,7 +26,8 @@ private:
   Audio_text* audio_p_;
 };
 
-ADD_THIS_TRANSLATOR (Lyric_performer);
+
+
 
 Lyric_performer::Lyric_performer ()
 {
@@ -49,7 +48,7 @@ Lyric_performer::create_audio_elements ()
       Audio_element_info info (audio_p_, lreq_arr_[0]);
       announce_element (info);
     }
-  lreq_arr_.clear();
+  lreq_arr_.clear ();
 }
 
 void
@@ -60,7 +59,7 @@ Lyric_performer::stop_translation_timestep ()
       play_element (audio_p_);
       audio_p_ = 0;
     }
-  lreq_arr_.clear();
+  lreq_arr_.clear ();
 }
 
 bool
@@ -74,3 +73,4 @@ Lyric_performer::try_music (Music* req_l)
   return false;
 }
 
+ENTER_DESCRIPTION(Lyric_performer,"","","","","");