]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/paper-line.hh
* lily/include/lily-guile.hh: is_x -> ly_c_X_p naming.
[lilypond.git] / lily / include / paper-line.hh
index d0372d04fc78916b0389092a19c9dfa54f072fca..4fa1d50f4a919def4c787c71fb8b4770e11d4052 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2004  Jan Nieuwenhuizen <janneke@gnu.org>
 */
 #ifndef PAPER_LINE_HH
 #define PAPER_LINE_HH
 
 class Paper_line
 {
+  DECLARE_SMOBS (Paper_line,);
   SCM stencils_;
   Offset dim_;
   bool is_title_;
-  DECLARE_SMOBS (Paper_line,);
+  int penalty_;
   
 public:
-  Paper_line (Offset, SCM, bool = true);
+  Paper_line (Offset, SCM, int penalty = 0, bool = false);
 
+  int number_;
   Offset dim () const;
   SCM stencils () const;
   bool is_title () const;
+  int penalty () const;
 };
 
 DECLARE_UNSMOB (Paper_line, paper_line);