-ADD_ACKNOWLEDGER(Instrument_name_engraver, bar_line);
-ADD_ACKNOWLEDGER(Instrument_name_engraver, axis_group);
-ADD_TRANSLATOR (Instrument_name_engraver,
- /* descr */ " Prints the name of the instrument (specified by "
- " @code{Staff.instrument} and @code{Staff.instr}) "
- "at the left of the staff. ",
- /* creats*/ "InstrumentName",
- /* accepts */ "",
- /* acks */ "bar-line-interface axis-group-interface",
- /* reads */ "instrument instr",
- /* write */ "");
-
-/****************************************************************/
-
-class Vocal_name_engraver : public Instrument_name_engraver
-{
-public:
- TRANSLATOR_DECLARATIONS (Vocal_name_engraver);
- virtual void create_text ();
-};
+ && !info.grob ()->internal_has_interface (ly_symbol2scm ("dynamic-interface"))
+ && !info.grob ()->internal_has_interface (ly_symbol2scm ("piano-pedal-interface"))
+ && !info.grob ()->internal_has_interface (ly_symbol2scm ("volta-interface"))
+ && (!Align_interface::has_interface (info.grob ())))
+ {
+ axis_groups_.push_back (info.grob ());
+ }
+}