X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finstrument-switch-engraver.cc;h=cfc3cd5c825e2ddc491048a177ad08ed668b7113;hb=13498a20fb3678da0042ffa6ae3427ca22b22a79;hp=c18ca4666b1c91d79c7a9745c181221f8aa863c4;hpb=08560a1b8076630c4fc6cb9b902614d8b74fd6fc;p=lilypond.git diff --git a/lily/instrument-switch-engraver.cc b/lily/instrument-switch-engraver.cc index c18ca4666b..cfc3cd5c82 100644 --- a/lily/instrument-switch-engraver.cc +++ b/lily/instrument-switch-engraver.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2006--2012 Han-Wen Nienhuys + Copyright (C) 2006--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify @@ -44,7 +44,8 @@ Instrument_switch_engraver::derived_mark () const scm_gc_mark (cue_name_); } -Instrument_switch_engraver::Instrument_switch_engraver () +Instrument_switch_engraver::Instrument_switch_engraver (Context *c) + : Engraver (c) { cue_name_ = SCM_EOL; text_ = 0; @@ -75,6 +76,12 @@ Instrument_switch_engraver::stop_translation_time_step () text_ = 0; } +void +Instrument_switch_engraver::boot () +{ + +} + ADD_TRANSLATOR (Instrument_switch_engraver, /* doc */ "Create a cue text for taking instrument.",