X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=inline;f=lily%2Finstrument-switch-engraver.cc;h=91072976771a04263005314e29bdd6ca636aec2c;hb=c2a0e17ed7739c43258389149a2d51cda34fb7bd;hp=67a6803a0ec8d57394f3f1a4805b7825bc863494;hpb=e3fd23261e5feb8d3809b887d34fc4517fe5f169;p=lilypond.git diff --git a/lily/instrument-switch-engraver.cc b/lily/instrument-switch-engraver.cc index 67a6803a0e..9107297677 100644 --- a/lily/instrument-switch-engraver.cc +++ b/lily/instrument-switch-engraver.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2006 Han-Wen Nienhuys + (c) 2006--2007 Han-Wen Nienhuys */ @@ -15,7 +15,7 @@ class Instrument_switch_engraver : public Engraver { - TRANSLATOR_DECLARATIONS(Instrument_switch_engraver); + TRANSLATOR_DECLARATIONS (Instrument_switch_engraver); protected: Grob *text_; SCM cue_name_; @@ -31,6 +31,9 @@ Instrument_switch_engraver::Instrument_switch_engraver () text_ = 0; } +/* + TODO: should use an event. + */ void Instrument_switch_engraver::process_music () { @@ -50,13 +53,16 @@ Instrument_switch_engraver::stop_translation_time_step () 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 */ + "" + );