]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/paper-score.hh
Issue 4873/1: operator SCM & () for Protected_scm
[lilypond.git] / lily / include / paper-score.hh
index a919cebce0973b5173af1b91e1eb1dc835b84a7c..3d4d5840e1f075481c8d20b060353c7bfca9f633 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1996--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1996--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
@@ -39,13 +39,6 @@ public:
 
   DECLARE_CLASSNAME (Paper_score);
 
-  static Paper_score *unsmob (SCM ps) {
-    return dynamic_cast <Paper_score *> (Music_output::unsmob (ps));
-  }
-  static bool is_smob (SCM ps) {
-    return Music_output::is_smob (ps) && unsmob (ps);
-  }
-
   Output_def *layout () const;
   System *root_system () const;
 
@@ -61,7 +54,7 @@ protected:
   virtual void derived_mark () const;
 
 private:
-  Paper_score (Paper_score const &);
+  Paper_score (Paper_score const &); // Do not define!  Not copyable!
 };
 
 #endif /* PAPER_SCORE_HH */