X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbook.hh;h=f74d1d981f76e17a54135259adbdd28e6d42b884;hb=d153a8ddf07a0a80b337219b3ae5f8bfa8c4eada;hp=7431b22dfbb3e0c2920ab962188771b1fffb2d5b;hpb=f93e4199873c91ae32f0e84a610d14853dc379df;p=lilypond.git diff --git a/lily/include/book.hh b/lily/include/book.hh index 7431b22dfb..f74d1d981f 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--2014 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 */