(c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
-#include "event.hh"
#include "slur.hh"
#include "note-column.hh"
#include "context.hh"
#include "engraver.hh"
#include "spanner.hh"
#include "tie.hh"
-#include "input.hh"
+
/*
It is possible that a slur starts and ends on the same note. At
least, it is for phrasing slurs: a note can be both beginning and
Slur_engraver::Slur_engraver ()
{
- events_[START] =events_[STOP] = 0;
+ events_[START] = events_[STOP] = 0;
}
bool
void
Slur_engraver::acknowledge_grob (Grob_info info)
{
- Grob *e =info.grob_;
+ Grob *e = info.grob_;
if (Note_column::has_interface (info.grob_))
{
for (int i = slurs_.size (); i--; )
events_[START] = events_[STOP] = 0;
}
-ENTER_DESCRIPTION (Slur_engraver,
+ADD_TRANSLATOR (Slur_engraver,
/* descr */ "Build slurs grobs from slur events",
/* creats*/ "Slur",
/* accepts */ "slur-event",