source file of the GNU LilyPond music typesetter
- (c) 1996--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 1996--2006 Jan Nieuwenhuizen <janneke@gnu.org>
*/
#include "performer.hh"
#include "audio-column.hh"
#include "global-context.hh"
#include "warn.hh"
+#include "music.hh"
/*
this is C&P from beam_performer.
protected:
virtual bool try_music (Music *ev);
- virtual void start_translation_timestep ();
- virtual void process_music ();
+ void start_translation_timestep ();
+ void process_music ();
void set_melisma (bool);
private:
Music *start_ev_;
Direction d = to_dir (m->get_property ("span-direction"));
if (d == START)
- {
- start_ev_ = m;
- }
+ start_ev_ = m;
else if (d == STOP)
- {
- now_stop_ev_ = m;
- }
+ now_stop_ev_ = m;
return true;
}
return false;
}
-ADD_TRANSLATOR (Slur_performer, "", "",
- "slur-event", "", "", "");
+#include "translator.icc"
+
+ADD_TRANSLATOR (Slur_performer,
+ "", "",
+ "slur-event",
+ "", "");