From: fred Date: Sun, 24 Mar 2002 19:26:50 +0000 (+0000) Subject: lilypond-0.0.19 X-Git-Tag: release/1.5.59~5671 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1719f3faaf3718900bfb8934afc5229671a63b22;p=lilypond.git lilypond-0.0.19 --- diff --git a/hdr/beam.hh b/hdr/beam.hh index 60b5dedd71..0032b67e17 100644 --- a/hdr/beam.hh +++ b/hdr/beam.hh @@ -18,6 +18,8 @@ struct Beam: public Spanner { /// -1 below heads, +1 above heads. int dir; + Rhythmic_grouping *group; + /****************/ virtual Interval width()const; @@ -31,8 +33,9 @@ struct Beam: public Spanner { void preprocess(); Interval height()const; void print() const; - + void set_grouping(Rhythmic_grouping def, Rhythmic_grouping current); void set_stemlens(); + ~Beam(); private: Molecule stem_beams(Stem *here, Stem *next, Stem *prev); void solve_slope(); diff --git a/src/spanner.cc b/src/spanner.cc index 2d34f9e477..a550227ea6 100644 --- a/src/spanner.cc +++ b/src/spanner.cc @@ -59,3 +59,7 @@ Spanner::print()const mtor << "}\n"; #endif } +Spanner::~Spanner() +{ + delete output; +}