X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpage-turn-page-breaking.hh;h=7c7ef8f47b93fd2e4ef5fc8aad9145416e013bcc;hb=5d3ad90b7bea98b61c01e00258360e234853aa9b;hp=6fb78bc67d1ae17173432db8a438a24ee25fb3b7;hpb=5f2ab1daf560216392b065bf2e9042b8a9e7ec76;p=lilypond.git diff --git a/lily/include/page-turn-page-breaking.hh b/lily/include/page-turn-page-breaking.hh index 6fb78bc67d..7c7ef8f47b 100644 --- a/lily/include/page-turn-page-breaking.hh +++ b/lily/include/page-turn-page-breaking.hh @@ -5,15 +5,13 @@ source file of the GNU LilyPond music typesetter - (c) 2006 Joe Neeman + (c) 2006--2008 Joe Neeman */ #ifndef PAGE_TURN_PAGE_BREAKING_HH #define PAGE_TURN_PAGE_BREAKING_HH -#include "constrained-breaking.hh" #include "page-breaking.hh" -#include "lily-guile.hh" /* A dynamic programming solution to breaking pages @@ -54,16 +52,16 @@ protected: vector state_; - vsize final_page_num (Break_node const &b); + vsize total_page_count (Break_node const &b); Break_node put_systems_on_pages (vsize start, vsize end, - vector const &lines, - Line_division const &div, - int page_number); + vsize configuration, + vsize page_number); SCM make_lines (vector *breaks); SCM make_pages (vector const &breaks, SCM systems); void calc_subproblem (vsize i); + void print_break_node (Break_node const &b); }; #endif /* PAGE_TURN_PAGE_BREAKING_HH */