]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-performer.cc
* scripts/lilypond-book.py (LATEX_DOCUMENT): More or less ugly
[lilypond.git] / lily / lyric-performer.cc
index 82e9ff6fddf585d44d51cada0e83889e708dd1af..f9faa7269329258d016d41b969a76d8fb6e58b79 100644 (file)
@@ -9,29 +9,26 @@
 #include "audio-item.hh"
 #include "performer.hh"
 
-class Lyric_performer : public Performer {
+class Lyric_performer : public Performer
+{
 public:
   TRANSLATOR_DECLARATIONS (Lyric_performer);
 protected:
 
-  virtual bool try_music (Musicreq);
+  virtual bool try_music (Music *req);
   virtual void stop_translation_timestep ();
   virtual void create_audio_elements ();
 
 private:
   Link_array<Music> lreqs_;
-  Audio_textaudio_;
+  Audio_text *audio_;
 };
 
-
-
-
 Lyric_performer::Lyric_performer ()
 {
   audio_ = 0;
 }
 
-
 void
 Lyric_performer::create_audio_elements ()
 {
@@ -41,7 +38,7 @@ Lyric_performer::create_audio_elements ()
       && ly_scm2string (lreqs_[0]->get_property ("text")).length ())
     {
       audio_ = new Audio_text (Audio_text::LYRIC,
-                                ly_scm2string (lreqs_[0]->get_property ("text")));
+                              ly_scm2string (lreqs_[0]->get_property ("text")));
       Audio_element_info info (audio_, lreqs_[0]);
       announce_element (info);
     }
@@ -60,7 +57,7 @@ Lyric_performer::stop_translation_timestep ()
 }
 
 bool
-Lyric_performer::try_music (Musicreq)
+Lyric_performer::try_music (Music *req)
 {
   if (req->is_mus_type ("lyric-event"))
     {