X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpaper-column-engraver.hh;h=f850613bdd628385db62b70d3c09f6f51325ff60;hb=9f3572d98bb948c9689cd1f75401a029451fa001;hp=1dd227e2090adbb1a0aa44c7c19e0fd1be14a3e4;hpb=04265f11d1f21416ccebd2dcaa1d903dc781b36e;p=lilypond.git diff --git a/lily/include/paper-column-engraver.hh b/lily/include/paper-column-engraver.hh index 1dd227e209..f850613bdd 100644 --- a/lily/include/paper-column-engraver.hh +++ b/lily/include/paper-column-engraver.hh @@ -10,9 +10,6 @@ #define PAPER_COLUMN_ENGRAVER_HH #include "engraver.hh" -#include "listener.hh" -#include "moment.hh" -#include "stream-event.hh" class Paper_column_engraver : public Engraver { @@ -20,24 +17,20 @@ class Paper_column_engraver : public Engraver void set_columns (Paper_column *, Paper_column *); TRANSLATOR_DECLARATIONS (Paper_column_engraver); - Paper_column *find_turnable_column (Moment after_this); - void revoke_page_turns (Moment after_this, Real new_penalty); - protected: void stop_translation_timestep (); void start_translation_timestep (); void process_music (); virtual void initialize (); virtual void finalize (); - - DECLARE_TRANSLATOR_LISTENER (break); + virtual bool try_music (Music *); DECLARE_ACKNOWLEDGER (item); DECLARE_ACKNOWLEDGER (note_spacing); DECLARE_ACKNOWLEDGER (staff_spacing); System *system_; - vector break_events_; + vector break_events_; int breaks_; // used for stat printing Paper_column *command_column_; Paper_column *musical_column_; @@ -45,6 +38,8 @@ protected: bool first_; Moment last_moment_; + Moment last_breakable_moment_; + Paper_column *last_breakable_column_; public: };