X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpaper-book.hh;h=16b349e0250555143da313646e395f08c510707f;hb=66adac8fa4ba5126100ff8748a2576c6983637c5;hp=a95ed8e3f64b4e553e4bc61ed5696503b17a5075;hpb=26bb48ca73e9b8f4c0aeca0427eff8b7520b0731;p=lilypond.git diff --git a/lily/include/paper-book.hh b/lily/include/paper-book.hh index a95ed8e3f6..16b349e025 100644 --- a/lily/include/paper-book.hh +++ b/lily/include/paper-book.hh @@ -3,17 +3,14 @@ source file of the GNU LilyPond music typesetter - (c) 2004--2005 Jan Nieuwenhuizen + (c) 2004--2006 Jan Nieuwenhuizen */ #ifndef PAPER_BOOK_HH #define PAPER_BOOK_HH -#include "parray.hh" -#include "protected-scm.hh" +#include "std-vector.hh" #include "smobs.hh" - -class Output_def; -class Stencil; +#include "lily-proto.hh" /** Paper_book collects headers, systems (Paper_system) and texts, and exports them to the output backend, either as systems or as @@ -21,26 +18,37 @@ class Stencil; class Paper_book { - DECLARE_SMOBS (Paper_book, ); + DECLARE_SMOBS (Paper_book); SCM systems_; SCM pages_; + SCM performances_; + void add_score_title (SCM); + SCM get_score_title (SCM); + public: SCM header_; + SCM header_0_; SCM scores_; Output_def *paper_; - + Paper_book (); void add_score (SCM); + void add_performance (SCM); + + SCM performances () const; SCM systems (); SCM pages (); + SCM get_system_specs (); + + Stencil book_title (); Stencil score_title (SCM); - void classic_output (String); - void output (String); - void post_processing (SCM, SCM); + + void classic_output (SCM output_channel); + void output (SCM output_channel); }; DECLARE_UNSMOB (Paper_book, paper_book)