]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/paper-book.hh
(output_def): push scope of parent_ Output_def
[lilypond.git] / lily / include / paper-book.hh
1 /*
2   paper-book.hh -- declare Paper_book
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2004  Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8 #ifndef PAPER_BOOK_HH
9 #define PAPER_BOOK_HH
10
11 #include "lily-guile.hh"
12 #include "parray.hh"
13 #include "protected-scm.hh"
14 #include "smobs.hh"
15
16 struct Score_lines
17 {
18   SCM lines_;
19   SCM header_;
20
21   Score_lines () ;
22   void gc_mark ();
23 };
24
25 class Paper_book
26 {
27   DECLARE_SMOBS (Paper_book, );
28
29   Real height_;
30   SCM copyright_;
31   SCM tagline_;
32   SCM global_header_;
33 public:
34   Array<Score_lines> score_lines_;
35   Output_def *bookpaper_;
36   
37   Paper_book ();
38
39   SCM lines ();
40   SCM pages ();
41   Stencil title (int);
42   void classic_output (String);
43   void init ();
44   void output (String);
45 };
46
47 DECLARE_UNSMOB (Paper_book, paper_book)
48
49 #endif /* PAPER_BOOK_HH */
50