]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/paper-column.hh
130806cebc0669020e9e9f9938118d39ada7ff34
[lilypond.git] / lily / include / paper-column.hh
1 /*
2   paper-column.hh -- declare  Paper_column
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef P_COL_HH
11 #define P_COL_HH
12
13 #include "item.hh"
14 #include "rod.hh"
15
16
17 class Paper_column : public Item
18
19 public:
20   VIRTUAL_COPY_CONS (Grob);
21
22   static bool has_interface (Grob*);
23   int  rank_;
24   virtual void do_break_processing ();
25   virtual Paper_column *get_column () const;
26   virtual System *get_system () const;
27   
28   /// if lines are broken then this column is in #line#
29   System *system_;
30
31   static int get_rank (Grob*);
32
33   DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM));
34   DECLARE_SCHEME_CALLBACK(before_line_breaking, (SCM));
35   
36   Paper_column (SCM);
37   static bool musical_b (Grob *);
38   static Moment when_mom (Grob*);
39
40   static bool used_b (Grob*) ;
41   void set_rank (int);
42 };
43      
44 #endif // P_COL_HH
45