]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tab-tie-follow-engraver.cc
Issue 4865/2: Rewrite of new translator initializations
[lilypond.git] / lily / tab-tie-follow-engraver.cc
index defbe19668431b26a7c8f77ef3e42dce2d4f4f13..b8e9966862ee9eb83b3444e6156a6d2637dd1926 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "engraver.hh"
 
+using namespace std;
 
 #include "context.hh"
 #include "item.hh"
@@ -29,8 +30,6 @@
 
 #include "translator.icc"
 
-using std::vector;
-
 /*
    Change tab-note-head properties when a tie is followed by a
    slurs or glissando.
@@ -111,9 +110,14 @@ Tab_tie_follow_engraver::stop_translation_timestep ()
   note_heads_.clear ();
 }
 
-ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, slur);
-ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, glissando);
-ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, tab_note_head);
+
+void
+Tab_tie_follow_engraver::boot ()
+{
+  ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, slur);
+  ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, glissando);
+  ADD_ACKNOWLEDGER (Tab_tie_follow_engraver, tab_note_head);
+}
 
 ADD_TRANSLATOR (Tab_tie_follow_engraver,
                 /* doc */