X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbook.hh;h=6b1c2bfb14ca48e7a60380fcab1b3b883d9e7601;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=7431b22dfbb3e0c2920ab962188771b1fffb2d5b;hpb=4a401ca1c60f428daa242dbdd102fdb3f327ebfb;p=lilypond.git diff --git a/lily/include/book.hh b/lily/include/book.hh index 7431b22dfb..6b1c2bfb14 100644 --- a/lily/include/book.hh +++ b/lily/include/book.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Han-Wen Nienhuys + Copyright (C) 1997--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,11 +26,12 @@ #include "virtual-methods.hh" #include "smobs.hh" -class Book +class Book : public Smob { - DECLARE_SMOBS (Book); - public: + SCM mark_smob (); + static const char type_p_name_[]; + virtual ~Book (); SCM header_; Output_def *paper_; SCM scores_; @@ -62,6 +63,5 @@ protected: Output_def *layout); }; -DECLARE_UNSMOB (Book, book); #endif /* BOOK_HH */