]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/glissando-engraver.cc
(srcdir): urg. Touch install-sh.
[lilypond.git] / lily / glissando-engraver.cc
index 16db55ec15cd4a9fa894ff1b3eebb20b5adb41a9..1f3407cd3d6d12f12464bb5596ab22ba74dc7ee0 100644 (file)
@@ -21,11 +21,11 @@ public:
   TRANSLATOR_DECLARATIONS (Glissando_engraver);
 
 protected:
-  DECLARE_ACKNOWLEDGER(rhythmic_head);
+  DECLARE_ACKNOWLEDGER (rhythmic_head);
   virtual void finalize ();
-  PRECOMPUTED_VIRTUAL void stop_translation_timestep ();
+  void stop_translation_timestep ();
   virtual bool try_music (Music *);
-  PRECOMPUTED_VIRTUAL void process_music ();
+  void process_music ();
 private:
   Spanner *line_;
   Spanner *last_line_;
@@ -53,9 +53,7 @@ void
 Glissando_engraver::process_music ()
 {
   if (event_)
-    {
-      line_ = make_spanner ("Glissando", event_->self_scm ());
-    }
+    line_ = make_spanner ("Glissando", event_->self_scm ());
 }
 
 void
@@ -73,9 +71,7 @@ void
 Glissando_engraver::stop_translation_timestep ()
 {
   if (last_line_ && last_line_->get_bound (RIGHT))
-    {
-      last_line_ = 0;
-    }
+    last_line_ = 0;
   if (line_)
     {
       if (last_line_)
@@ -105,11 +101,10 @@ Glissando_engraver::finalize ()
 
 #include "translator.icc"
 
-ADD_ACKNOWLEDGER(Glissando_engraver,rhythmic_head);
+ADD_ACKNOWLEDGER (Glissando_engraver, rhythmic_head);
 ADD_TRANSLATOR (Glissando_engraver,
-               /* descr */ "Engrave a glissandi",
-               /* creats*/ "Glissando",
-               /* accepts */ "glissando-event",
-               /* acks  */ "",
-               /* reads */ "followVoice",
+               /* doc */ "Engrave a glissandi",
+               /* create */ "Glissando",
+               /* accept */ "glissando-event",
+               /* read */ "followVoice",
                /* write */ "");