/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 1999--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 1999--2011 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
public:
TRANSLATOR_DECLARATIONS (Note_name_engraver);
- vector<Stream_event*> events_;
- vector<Item*> texts_;
+ vector<Stream_event *> events_;
DECLARE_TRANSLATOR_LISTENER (note);
void process_music ();
void stop_translation_timestep ();
{
Item *t = make_item ("NoteName", events_[0]->self_scm ());
t->set_property ("text", ly_string2scm (s));
- texts_.push_back (t);
}
}
void
Note_name_engraver::stop_translation_timestep ()
{
- texts_.clear ();
events_.clear ();
}