]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/spanner.hh
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / lily / include / spanner.hh
index 074c303036877afe40c8536479719eebb6b18f51..b90d1995168aa92158b6300969299e4f0eb28571 100644 (file)
@@ -39,7 +39,8 @@ public:
   vector<Spanner*> broken_intos_;
 
   vsize get_break_index () const;
-
+  Spanner *broken_neighbor (Direction d) const;
+  
   // todo: move to somewhere else.
   Real get_broken_left_end_align () const;
   void substitute_one_mutable_property (SCM sym, SCM val);
@@ -56,9 +57,10 @@ public:
   Real spanner_length () const;
 
   static int compare (Spanner *const &, Spanner *const &);
+  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:
@@ -70,5 +72,5 @@ protected:
 void add_bound_item (Spanner *, Grob *);
 
 bool spanner_less (Spanner *s1, Spanner *s2);
-int broken_spanner_index (Spanner *sp);
+int broken_spanner_index (Spanner const *sp);
 #endif