]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/paper-book.hh
* lily/page.cc (Page): Do not use ly_scheme_function for
[lilypond.git] / lily / include / paper-book.hh
index 42945d5434e579ec30fcb489d609d34ef0cacdc6..cdba4e42479e0950983711139c6bf7de6ed8d1b8 100644 (file)
@@ -5,24 +5,40 @@
 
   (c) 2004  Jan Nieuwenhuizen <janneke@gnu.org>
 */
-
 #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"
 
 class Paper_book
 {
+  DECLARE_SMOBS (Paper_book, );
+
+  Real height_;
+  SCM copyright_;
+  SCM tagline_;
+
 public:
-  Link_array<Paper_score> paper_scores_;
+  Array<SCM> scores_;
+  Array<SCM> headers_;
+  Array<SCM> global_headers_;
+  Link_array<Paper_def> papers_;
+  
   Paper_book ();
 
-  Link_array<Page> *get_pages ();
-  void output ();
+  SCM lines ();
+  SCM pages ();
+  SCM scopes (int);
+  Stencil *title (int);
+  void classic_output (String);
+  void init ();
+  void output (String);
 };
 
+DECLARE_UNSMOB (Paper_book, paper_book)
+
 #endif /* PAPER_BOOK_HH */