source file of the GNU LilyPond music typesetter
- (c) 2000--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 2000--2006 Jan Nieuwenhuizen <janneke@gnu.org>
*/
-#include "warn.hh"
-#include "spanner.hh"
-#include "rhythmic-head.hh"
#include "engraver.hh"
+#include "international.hh"
+#include "rhythmic-head.hh"
+#include "spanner.hh"
+#include "warn.hh"
/**
Create line-spanner grobs for glissandi lines that connect note
protected:
DECLARE_ACKNOWLEDGER (rhythmic_head);
virtual void finalize ();
- void stop_translation_timestep ();
virtual bool try_music (Music *);
+
+ void stop_translation_timestep ();
void process_music ();
private:
Spanner *line_;
Glissando_engraver::process_music ()
{
if (event_)
- {
- line_ = make_spanner ("Glissando", event_->self_scm ());
- }
+ line_ = make_spanner ("Glissando", event_->self_scm ());
}
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_)
{
if (line_)
{
- String msg = _ ("unterminated glissando");
+ string msg = _ ("unterminated glissando");
if (event_)
event_->origin ()->warning (msg);