source file of the GNU LilyPond music typesetter
- (c) 2006 Han-Wen Nienhuys <hanwen@lilypond.org>
+ (c) 2006--2008 Han-Wen Nienhuys <hanwen@lilypond.org>
*/
class Instrument_switch_engraver : public Engraver
{
- TRANSLATOR_DECLARATIONS(Instrument_switch_engraver);
+ TRANSLATOR_DECLARATIONS (Instrument_switch_engraver);
protected:
Grob *text_;
SCM cue_name_;
text_ = 0;
}
+/*
+ TODO: should use an event.
+ */
void
Instrument_switch_engraver::process_music ()
{
text_ = 0;
}
-ADD_TRANSLATOR(Instrument_switch_engraver,
- "Create a cue text for taking instrument.",
+ADD_TRANSLATOR (Instrument_switch_engraver,
+ /* doc */
+ "Create a cue text for taking instrument.",
- "InstrumentSwitch ",
-
- "",
+ /* create */
+ "InstrumentSwitch ",
- "instrumentCueName",
+ /* read */
+ "instrumentCueName ",
- "");
+ /* write */
+ ""
+ );