X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fspanner.hh;h=e4a09cc0cf8395e6dc0ec5da6a2c3926230a43d6;hb=f9214bac21e9926dc3248416f58190c98c4167a9;hp=8267bf1af44dbd830c1624d1d020325a80e2be17;hpb=480a711ef5165e3d38839c0b6c90ec931bce94d3;p=lilypond.git diff --git a/lily/include/spanner.hh b/lily/include/spanner.hh index 8267bf1af4..e4a09cc0cf 100644 --- a/lily/include/spanner.hh +++ b/lily/include/spanner.hh @@ -1,7 +1,7 @@ /* spanner.hh -- part of GNU LilyPond - (c) 1996--2006 Han-Wen Nienhuys + (c) 1996--2007 Han-Wen Nienhuys */ #ifndef SPANNER_HH @@ -35,6 +35,7 @@ class Spanner : public Grob public: DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM)); + DECLARE_SCHEME_CALLBACK (bounds_width, (SCM)); vector broken_intos_; @@ -50,8 +51,8 @@ public: void set_bound (Direction d, Grob *); Item *get_bound (Direction d) const; - Spanner (SCM, Object_key const *); - Spanner (Spanner const &, int copy_count); + Spanner (SCM); + Spanner (Spanner const &); bool is_broken () const; void do_break (); Real spanner_length () const; @@ -60,12 +61,12 @@ public: static bool less (Spanner *const &, Spanner *const &); virtual Grob *find_broken_piece (System *) const; virtual void derived_mark () const; - static bool has_interface (Grob *); + DECLARE_GROB_INTERFACE(); virtual System *get_system () const; protected: void set_my_columns (); - virtual Grob *clone (int count) const; + virtual Grob *clone () const; virtual void do_break_processing (); };