]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/book.hh
Issue 4842/3: Replace Engraver_dispatch_entry with Method_instance
[lilypond.git] / lily / include / book.hh
index 7527cf5062c2780c758cb5329c1da811434e3486..3ea6c2c550b0346db2e77d88903df91735c6a2b4 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
 #include "virtual-methods.hh"
 #include "smobs.hh"
 
-class Book
+class Book : public Smob<Book>
 {
-  DECLARE_SMOBS (Book);
-
 public:
+  SCM mark_smob () const;
+  static const char type_p_name_[];
+  virtual ~Book ();
   SCM header_;
   Output_def *paper_;
   SCM scores_;