]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/separating-group-spanner.hh
* lily/music.cc (derived_mark): derive Music from Prob.
[lilypond.git] / lily / include / separating-group-spanner.hh
index 477771840bcc586cdafde6ccefd01ac4a9b23f19..b569d5ee1f1e92cc7412cb5281c7a6a540876e10 100644 (file)
@@ -1,28 +1,27 @@
-/*   
-  separating-group-spanner.hh -- declare 
-  
+/*
+  separating-group-spanner.hh -- declare Separating_group_spanner
+
   source file of the GNU LilyPond music typesetter
-  
-  (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-  
- */
+
+  (c) 1998--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
 
 #ifndef SEPARATING_GROUP_SPANNER_HH
 #define SEPARATING_GROUP_SPANNER_HH
 
 #include "spanner.hh"
 
-
-class Separating_group_spanner : public Spanner
+class Separating_group_spanner
 {
-  Link_array<Single_malt_grouping_item> spacing_unit_l_arr_;
+  static void find_rods (Item *,
+                        Link_array<Grob> const &separators,
+                        int idx,
+                        Real);
 public:
-  
-  void add_spacing_unit (Single_malt_grouping_item*);
-protected:
-  VIRTUAL_COPY_CONS(Score_element);
-  virtual Array<Rod> get_rods () const;
-  virtual void do_substitute_dependency (Score_element*,Score_element*);
+  static void add_spacing_unit (Grob *me, Item *);
+
+  static bool has_interface (Grob *);
+  DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM));
 };
 
 #endif /* SEPARATING_GROUP_SPANNER_HH */