]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/paper-column.hh
* lily/context-specced-music-iterator.cc (class
[lilypond.git] / lily / include / paper-column.hh
index 5633cb0fb236e48d8845d0fc2d9b30045479b5ce..b7bb94457615ae83c91829a95e3dab19df4867c3 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 
 #include "item.hh"
 #include "rod.hh"
-#include "spring.hh"
 
-/**
-   bounded-by-me -- list of elts.
-
-   shortest-starter-duration -- rational signifying shortest moment that starts here
-
-
-   Interfaces:
-
-   axis-group, spaceable-element.
-  */
 
 class Paper_column : public Item
 { 
 public:
-  VIRTUAL_COPY_CONS(Score_element);
+  VIRTUAL_COPY_CONS (Grob);
 
-  /*
-    Not (yet) in scm, because of messy effects when a column commits suicide.
-   */
-  int  rank_i_;
+  static bool has_interface (Grob*);
+  int  rank_;
   virtual void do_break_processing ();
-  virtual Paper_column *column_l () const;
-  virtual Line_of_score *line_l () const;
-
+  virtual Paper_column *get_column () const;
+  virtual System *get_system () const;
+  
   /// if lines are broken then this column is in #line#
-  Line_of_score *line_l_;
+  System *system_;
 
-  /// which  one (left =0)
-  static int rank_i(Score_element*);
+  static int get_rank (Grob*);
 
+  DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM));
+  DECLARE_SCHEME_CALLBACK(before_line_breaking, (SCM));
+  
   Paper_column (SCM);
-  bool musical_b () const;
-  static Moment when_mom (Score_element*);
+  static bool musical_b (Grob *);
+  static Moment when_mom (Grob*);
 
-  static bool used_b (Score_element*) ;
+  static bool used_b (Grob*) ;
   void set_rank (int);
 };