]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/metronome-engraver.cc
In doc strings, replace trailing spaces with leading ones.
[lilypond.git] / lily / metronome-engraver.cc
index cfae9a5ee87c4f0cba3e124df239e78c3de013b6..5bc715339c69365ccda96429896bf3242418bc7c 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1998--2006 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1998--2007 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include <cctype>
@@ -11,10 +11,13 @@ using namespace std;
 
 #include "engraver.hh"
 
-#include "item.hh"
 #include "context.hh"
-#include "grob-array.hh"
 #include "duration.hh"
+#include "grob-array.hh"
+#include "item.hh"
+#include "stream-event.hh"
+
+#include "translator.icc"
 
 /**
    put stuff over or next to  bars.  Examples: bar numbers, marginal notes,
@@ -60,7 +63,6 @@ Metronome_mark_engraver::stop_translation_timestep ()
       text_->set_parent (mc, X_AXIS);
       text_->set_object ("side-support-elements",
                         grob_list_to_grob_array (get_property ("stavesFound")));
-
       text_ = 0;
     }
 }
@@ -91,22 +93,23 @@ Metronome_mark_engraver::process_music ()
   last_count_ = count;
 }
 
-#include "translator.icc"
-
 ADD_TRANSLATOR (Metronome_mark_engraver,
-               /* doc */ "Engrave metro nome marking. This delegates the formatting work "
-               "to the function in the metronomeMarkFormatter property. "
-               "The mark is put over all staves. "
-               "The staves are taken from the @code{stavesFound} property, "
-               "which is maintained by @code{@ref{Staff_collecting_engraver}}. ",
-               /* create */ "MetronomeMark",
-               /* accept */ "",
+               /* doc */
+               "Engrave metronome marking.  This delegates the formatting"
+               " work to the function in the @code{metronomeMarkFormatter}"
+               " property.  The mark is put over all staves.  The staves are"
+               " taken from the @code{stavesFound} property, which is"
+               " maintained by @ref{Staff_collecting_engraver}.",
+
+               /* create */
+               "MetronomeMark ",
 
                /* read */
                "stavesFound "
                "metronomeMarkFormatter "
                "tempoUnitDuration "
-               "tempoUnitCount "
-               ,
+               "tempoUnitCount ",
 
-               /* write */ "");
+               /* write */
+               ""
+               );