X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpage-turn-page-breaking.hh;h=d5f9ec6369d52b422697a165d6d1ba7e4eb42eac;hb=ca3b8c69a4a3d6bf69fcf7e36b32e0175bb7ff18;hp=db675202b6f8e138b139e745561fd0b972192d36;hpb=2b5cabd0f53c8fc3e553fee7b3aa5c3352e1106a;p=lilypond.git diff --git a/lily/include/page-turn-page-breaking.hh b/lily/include/page-turn-page-breaking.hh index db675202b6..d5f9ec6369 100644 --- a/lily/include/page-turn-page-breaking.hh +++ b/lily/include/page-turn-page-breaking.hh @@ -1,11 +1,20 @@ /* - page-turn-page-breaking.hh -- break lines and pages optimally - for a whole Paper_book such that page turns can only occur - at specific places. + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2006--2010 Joe Neeman - (c) 2006--2007 Joe Neeman + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #ifndef PAGE_TURN_PAGE_BREAKING_HH @@ -52,12 +61,11 @@ 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);