source file of the GNU LilyPond music typesetter
- (c) 1997--2002 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 1997--2004 Jan Nieuwenhuizen <janneke@gnu.org>
*/
-#include "request.hh"
+#include "event.hh"
#include "audio-item.hh"
#include "lily-proto.hh"
#include "performer.hh"
class Lyric_performer : public Performer {
public:
- TRANSLATOR_DECLARATIONS(Lyric_performer);
+ TRANSLATOR_DECLARATIONS (Lyric_performer);
protected:
virtual bool try_music (Music* req);
{
// FIXME: won't work with fancy lyrics
if (lreqs_.size ()
- && gh_string_p (lreqs_[0]->get_mus_property ("text"))
- && ly_scm2string (lreqs_[0]->get_mus_property ("text")).length ())
+ && scm_is_string (lreqs_[0]->get_property ("text"))
+ && ly_scm2string (lreqs_[0]->get_property ("text")).length ())
{
audio_ = new Audio_text (Audio_text::LYRIC,
- ly_scm2string (lreqs_[0]->get_mus_property ("text")));
+ ly_scm2string (lreqs_[0]->get_property ("text")));
Audio_element_info info (audio_, lreqs_[0]);
announce_element (info);
}
return false;
}
-ENTER_DESCRIPTION(Lyric_performer,"","","lyric-event","","","");
+ENTER_DESCRIPTION (Lyric_performer,"","","lyric-event","","","");