]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/book.hh
Fix header inheritance
[lilypond.git] / lily / include / book.hh
1 /*
2   book.hh -- declare Book
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef BOOK_HH
10 #define BOOK_HH
11
12 #include "lily-proto.hh"
13 #include "std-vector.hh"
14 #include "std-string.hh"
15 #include "virtual-methods.hh"
16 #include "smobs.hh"
17
18 class Book
19 {
20   DECLARE_SMOBS (Book);
21
22 public:
23   string user_key_;
24   SCM header_;
25   Output_def *paper_;
26   SCM scores_;
27   SCM bookparts_;
28   SCM input_location_;
29
30   Book (Book const &);
31   Input *origin() const;
32   VIRTUAL_COPY_CONSTRUCTOR(Book, Book);
33   Book ();
34   void add_score (SCM);
35   void add_bookpart ();
36   void add_bookpart (SCM);
37   void set_parent (Book *parent);
38   bool error_found ();
39   Paper_book *process (Output_def *def_paper,
40                        Output_def *def_layout);
41   Paper_book *process (Output_def *default_paper,
42                        Output_def *default_layout,
43                        Paper_book *parent_part);
44   void set_keys ();
45 };
46
47 DECLARE_UNSMOB (Book, book);
48
49 #endif /* BOOK_HH */