]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/instrument-switch-engraver.cc
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / lily / instrument-switch-engraver.cc
index 8bd364646c58af80b5089ef388f34b70f9c00f56..cfc3cd5c825e2ddc491048a177ad08ed668b7113 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2006--2010 Han-Wen Nienhuys <hanwen@lilypond.org>
+  Copyright (C) 2006--2015 Han-Wen Nienhuys <hanwen@lilypond.org>
 
 
   LilyPond is free software: you can redistribute it and/or modify
@@ -24,7 +24,6 @@
 
 #include "translator.icc"
 
-
 class Instrument_switch_engraver : public Engraver
 {
 
@@ -45,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;
@@ -76,16 +76,22 @@ 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.",
-                       
-               /* create */
-               "InstrumentSwitch ",
-
-               /* read */
-               "instrumentCueName ",
-                       
-               /* write */
-               ""
-               );
+                /* doc */
+                "Create a cue text for taking instrument.",
+
+                /* create */
+                "InstrumentSwitch ",
+
+                /* read */
+                "instrumentCueName ",
+
+                /* write */
+                ""
+               );