/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
{
protected:
DECLARE_TRANSLATOR_LISTENER (phrasing_slur);
+ DECLARE_TRANSLATOR_LISTENER (note);
DECLARE_ACKNOWLEDGER (slur);
public:
+ SCM event_symbol ();
TRANSLATOR_DECLARATIONS (Phrasing_slur_engraver);
};
{
}
+SCM
+Phrasing_slur_engraver::event_symbol ()
+{
+ // Need a string constant for memoization
+ return ly_symbol2scm ("phrasing-slur-event");
+}
+
IMPLEMENT_TRANSLATOR_LISTENER (Phrasing_slur_engraver, phrasing_slur);
void
Phrasing_slur_engraver::listen_phrasing_slur (Stream_event *ev)
{
- internal_listen_slur (ev);
+ Slur_proto_engraver::listen_slur (ev);
+}
+
+IMPLEMENT_TRANSLATOR_LISTENER (Phrasing_slur_engraver, note);
+void
+Phrasing_slur_engraver::listen_note (Stream_event *ev)
+{
+ Slur_proto_engraver::listen_note (ev);
}
void