]> 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 3c2dd05f6739918ebae305b92ac6a3974c173e69..cdba4e42479e0950983711139c6bf7de6ed8d1b8 100644 (file)
@@ -5,30 +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"
 #include "protected-scm.hh"
+#include "smobs.hh"
 
 class Paper_book
 {
+  DECLARE_SMOBS (Paper_book, );
+
+  Real height_;
+  SCM copyright_;
+  SCM tagline_;
+
 public:
+  Array<SCM> scores_;
   Array<SCM> headers_;
+  Array<SCM> global_headers_;
   Link_array<Paper_def> papers_;
-  Array<SCM> scores_;
-
+  
   Paper_book ();
-  Link_array<Page> *get_pages ();
-  SCM get_scopes (int);
-  Stencil* get_title (int);
-  void output (String);
+
+  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 */