]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/paper-book.hh
* ly/declarations-init.ly (paper): Define page-breaking.
[lilypond.git] / lily / include / paper-book.hh
index 42945d5434e579ec30fcb489d609d34ef0cacdc6..24dab4e061db7017946bab34410790bbceafcb4e 100644 (file)
@@ -9,20 +9,36 @@
 #ifndef PAPER_BOOK_HH
 #define PAPER_BOOK_HH
 
-//#define PAGE_LAYOUT 1
-
+#include "lily-guile.hh"
 #include "parray.hh"
-class Page;
+#include "protected-scm.hh"
+#include "smobs.hh"
+
+#define PAGE_LAYOUT "ps"
 
 class Paper_book
 {
 public:
-  Link_array<Paper_score> paper_scores_;
-  Paper_book ();
+  Array<SCM> headers_;
+  Array<SCM> global_headers_;
+  Link_array<Paper_def> papers_;
+  Array<SCM> scores_;
+  Real height_;
+  SCM copyright_;
+  SCM tagline_;
 
-  Link_array<Page> *get_pages ();
-  void output ();
+  Paper_book ();
+  void init ();
+  Link_array<Page> *pages ();
+  SCM lines ();
+  SCM scopes (int);
+  Stencil* title (int);
+  void output (String);
+  void classic_output (String);
+  DECLARE_SMOBS (Paper_book, )
 };
 
+DECLARE_UNSMOB (Paper_book, paper_book)
+
 #endif /* PAPER_BOOK_HH */