]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/paper-book.hh
*** empty log message ***
[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--2005  Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8 #ifndef PAPER_BOOK_HH
9 #define PAPER_BOOK_HH
10
11 #include "parray.hh"
12 #include "protected-scm.hh"
13 #include "smobs.hh"
14
15 class Output_def;
16 class Stencil;
17
18 struct Score_systems
19 {
20   SCM systems_;
21   SCM header_;
22
23   Score_systems () ;
24   void gc_mark ();
25 };
26
27 /*
28   
29 This class is rather empty. It collects systems (Paper_system), and
30 exports them to the output backend, either as systems or as completely
31 formatted pages.
32   
33 */
34 class Paper_book
35 {
36   DECLARE_SMOBS (Paper_book, );
37
38   SCM systems_;
39   SCM pages_;
40 public:
41   SCM header_;
42   Array<Score_systems> score_systems_;
43   Output_def *paper_;
44   
45   Paper_book ();
46
47   SCM systems ();
48   SCM pages ();
49   Stencil book_title ();
50   Stencil score_title (int);
51   void classic_output (String);
52   void output (String);
53   void post_processing (SCM, SCM);
54 };
55
56 DECLARE_UNSMOB (Paper_book, paper_book)
57
58 #endif /* PAPER_BOOK_HH */
59