]> git.donarmstrong.com Git - lilypond.git/commitdiff
remove break-algorithm.{cc,hh} as they are no longer used.
authorJoe Neeman <joeneeman@gmail.com>
Mon, 2 Oct 2006 10:47:33 +0000 (10:47 +0000)
committerJoe Neeman <joeneeman@gmail.com>
Mon, 2 Oct 2006 10:47:33 +0000 (10:47 +0000)
lily/break-algorithm.cc [deleted file]
lily/include/break-algorithm.hh [deleted file]
lily/include/constrained-breaking.hh

diff --git a/lily/break-algorithm.cc b/lily/break-algorithm.cc
deleted file mode 100644 (file)
index d784b59..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
-  break.cc -- implement Break_algorithm
-
-  source file of the GNU LilyPond music typesetter
-
-  (c) 1996--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
-*/
-
-#include "break-algorithm.hh"
-#include "paper-column.hh"
-#include "output-def.hh"
-#include "system.hh"
-#include "paper-score.hh"
-#include "paper-column.hh"
-#include "cpu-timer.hh"
-#include "simple-spacer.hh"
-
-Break_algorithm::Break_algorithm ()
-{
-  pscore_ = 0;
-  linewidth_ = 0;
-}
-
-void
-Break_algorithm::set_pscore (Paper_score *s)
-{
-  pscore_ = s;
-  linewidth_ = s->layout ()->get_dimension (ly_symbol2scm ("line-width"));
-}
-
-vector<Column_x_positions>
-Break_algorithm::solve () 
-{
-  vector<Column_x_positions> h;
-  return h;
-}
-
-Break_algorithm::~Break_algorithm ()
-{
-}
diff --git a/lily/include/break-algorithm.hh b/lily/include/break-algorithm.hh
deleted file mode 100644 (file)
index 54385d8..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
-  break-algorithm.hh -- declare Break_algorithm
-
-  source file of the GNU LilyPond music typesetter
-
-  (c) 1996--2006 Han-Wen Nienhuys <hanwen@xs4all.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.
-
-    JUNKME.
-*/
-class Break_algorithm
-{
-protected:
-  Paper_score *pscore_;
-  Real linewidth_;
-
-  void solve_line (Column_x_positions *) const;
-  bool feasible (vector<Grob*> const &) const;
-
-public:
-  virtual ~Break_algorithm ();
-  Simple_spacer *(*get_line_spacer) ();
-  Break_algorithm ();
-  void set_pscore (Paper_score *);
-  virtual vector<Column_x_positions> solve ();
-};
-
-#endif // BREAK_HH
-
index 9fe3223f988486de25fabf562969ef921c6a85aa..56c673705de4e6e79b049e45d9af149db767d9f5 100644 (file)
@@ -10,7 +10,6 @@
 #ifndef CONSTRAINED_BREAKING_HH
 #define CONSTRAINED_BREAKING_HH
 
-#include "break-algorithm.hh"
 #include "lily-guile.hh"
 #include "matrix.hh"
 #include "prob.hh"