]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/break-algorithm.hh
* flower
[lilypond.git] / lily / include / break-algorithm.hh
index 82d648cd61fd7c16517887c5e9f99820481ca9dc..a891c7c140fa87e9f0dab79bde512e0c40d87cf0 100644 (file)
@@ -6,38 +6,36 @@
   (c) 1996--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-
 #ifndef BREAK_HH
 #define BREAK_HH
 
 #include "interval.hh"
 #include "column-x-positions.hh"
 
-
 /** Class representation of an algorithm which decides where to put
-  the column, and where to break lines.
+    the column, and where to break lines.
 
-  JUNKME.
-  
-  */
-class Break_algorithm {
+    JUNKME.
+*/
+class Break_algorithm
+{
 protected:
   Paper_score *pscore_;
   Real linewidth_;
 
   Link_array<Grob> find_breaks () const;
   Array<int> find_break_indices () const;
-  void solve_line (Column_x_positions*) const;
+  void solve_line (Column_x_positions *) const;
   bool feasible (Link_array<Grob> const &) const;
 
-  Simple_spacer_wrappergenerate_spacing_problem (Link_array<Grob> const &, Interval) const;
+  Simple_spacer_wrapper *generate_spacing_problem (Link_array<Grob> const &, Interval) const;
 
   virtual Array<Column_x_positions> do_solve () const = 0;
 
 public:
-  Simple_spacer(*get_line_spacer) ();
+  Simple_spacer *(*get_line_spacer) ();
   Break_algorithm ();
-  void set_pscore (Paper_score*);
+  void set_pscore (Paper_score *);
   Array<Column_x_positions> solve () const;
 };