X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspacing-engraver.cc;h=00dc8227609b68fd2eb067d317399d1b678057b2;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=6628fe36b4b3e232866bbfb9d035852ad8b16b58;hpb=dbaf1e56e37be0e204231c5bf1adcb14bd8ac3b8;p=lilypond.git diff --git a/lily/spacing-engraver.cc b/lily/spacing-engraver.cc index 6628fe36b4..00dc822760 100644 --- a/lily/spacing-engraver.cc +++ b/lily/spacing-engraver.cc @@ -76,11 +76,11 @@ class Spacing_engraver : public Engraver TRANSLATOR_DECLARATIONS (Spacing_engraver); protected: - DECLARE_ACKNOWLEDGER (staff_spacing); - DECLARE_ACKNOWLEDGER (note_spacing); - DECLARE_ACKNOWLEDGER (rhythmic_head); - DECLARE_ACKNOWLEDGER (rhythmic_grob); - DECLARE_TRANSLATOR_LISTENER (spacing_section); + void acknowledge_staff_spacing (Grob_info); + void acknowledge_note_spacing (Grob_info); + void acknowledge_rhythmic_head (Grob_info); + void acknowledge_rhythmic_grob (Grob_info); + void listen_spacing_section (Stream_event *); void start_translation_timestep (); void stop_translation_timestep (); @@ -93,7 +93,8 @@ protected: void stop_spanner (); }; -Spacing_engraver::Spacing_engraver () +Spacing_engraver::Spacing_engraver (Context *c) + : Engraver (c) { spacing_ = 0; start_section_ = 0;