]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/page-turn-page-breaking.hh
Run grand replace for 2015.
[lilypond.git] / lily / include / page-turn-page-breaking.hh
index a109f1ff8f59cd93770a081320519851579dac96..93fdaceadaf8cdd9f66939f0b40fc5690dcf1f95 100644 (file)
@@ -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--2015 Joe Neeman <joeneeman@gmail.com>
 
-  (c) 2006 Joe Neeman <joeneeman@gmail.com>
+  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 <http://www.gnu.org/licenses/>.
 */
 
 #ifndef PAGE_TURN_PAGE_BREAKING_HH
@@ -52,16 +61,16 @@ protected:
 
   vector<Break_node> 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<Line_details> const &lines,
-                                  Line_division const &div,
-                                  int page_number);
+                                   vsize end,
+                                   vsize configuration,
+                                   vsize page_number);
 
   SCM make_lines (vector<Break_node> *breaks);
   SCM make_pages (vector<Break_node> const &breaks, SCM systems);
 
   void calc_subproblem (vsize i);
+  void print_break_node (Break_node const &b);
 };
 #endif /* PAGE_TURN_PAGE_BREAKING_HH */