X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbreak-algorithm.hh;h=623fc81a4a29fe6ba94b0a178a6410c12f65337b;hb=11b3094461e045deafd0e2b1cef8c60f79e259a1;hp=fa0b0d77709c51fde1c56a94fc989d439f07412e;hpb=3c2f386f1385a10dafbb811be245f5a75d6b132c;p=lilypond.git diff --git a/lily/include/break-algorithm.hh b/lily/include/break-algorithm.hh index fa0b0d7770..623fc81a4a 100644 --- a/lily/include/break-algorithm.hh +++ b/lily/include/break-algorithm.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1996--2000 Han-Wen Nienhuys + (c) 1996--2003 Han-Wen Nienhuys */ @@ -24,32 +24,32 @@ */ class Break_algorithm { protected: - Paper_score *pscore_l_; - Real linewidth_f_; + Paper_score *pscore_; + Real linewidth_; /// search all pcols which are breakable. - Link_array find_breaks() const; + Link_array find_breaks () const; - Array find_break_indices() const; + Array find_break_indices () const; /// helper: solve for the columns in #curline#. void solve_line (Column_x_positions*) const; /// does curline fit on the paper? - bool feasible (Link_array) const; + bool feasible (Link_array const &) const; - Simple_spacer* generate_spacing_problem (Link_array, Interval) const; + Simple_spacer* generate_spacing_problem (Link_array const &, Interval) const; - virtual Array do_solve() const=0; + virtual Array do_solve () const=0; public: - Simple_spacer* (*get_line_spacer)(); - Break_algorithm(); + Simple_spacer* (*get_line_spacer) (); + Break_algorithm (); void set_pscore (Paper_score*); - Array solve() const; + Array solve () const; }; #endif // BREAK_HH