]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/paper-line.hh
* lily/lexer.ll: lex \score separately.
[lilypond.git] / lily / include / paper-line.hh
1 /*
2   paper-line.hh -- declare Paper_line
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2004  Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8 #ifndef PAPER_LINE_HH
9 #define PAPER_LINE_HH
10
11 #include "lily-proto.hh"
12 #include "smobs.hh"
13 #include "offset.hh"
14 #include "stencil.hh"
15
16 class Paper_line
17 {
18   DECLARE_SMOBS (Paper_line, );
19   Stencil stencil_;
20   bool is_title_;
21   int penalty_;
22   
23 public:
24   int number_;
25
26   Paper_line (Stencil, int penalty, bool);
27
28   Offset dim () const;
29   Stencil to_stencil () const;
30   SCM stencils () const;
31   bool is_title () const;
32   int penalty () const;
33 };
34
35 DECLARE_UNSMOB (Paper_line, paper_line);
36
37 #endif /* PAPER_LINE_HH */