]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/paper-book.hh
Merge commit 'origin/dev/jneeman' into systems-per-page
[lilypond.git] / lily / include / paper-book.hh
index 4ea192794603b6fe9d021c911c21e36aed0bbb72..90e816f66da6257ae6d94af69736635bacffdd72 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2007  Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 2004--2009  Jan Nieuwenhuizen <janneke@gnu.org>
 */
 #ifndef PAPER_BOOK_HH
 #define PAPER_BOOK_HH
@@ -31,11 +31,16 @@ public:
   SCM header_;
   SCM header_0_;
   SCM scores_;
+  SCM bookparts_;
+  Paper_book *parent_;
   Output_def *paper_;
 
   Paper_book ();
 
+  Output_def *top_paper ();
+
   void add_score (SCM);
+  void add_bookpart (SCM);
   void add_performance (SCM);
 
   SCM performances () const;
@@ -49,6 +54,14 @@ public:
   
   void classic_output (SCM output_channel);
   void output (SCM output_channel);
+
+protected:
+  void classic_output_aux (SCM output,
+                          int *first_performance_number);
+  int output_aux (SCM output_channel,
+                 bool is_last,
+                 int *first_page_number,
+                 int *first_performance_number);
 };
 
 DECLARE_UNSMOB (Paper_book, paper_book)