]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/separating-group-spanner.hh
Use a `define-builtin-markup-command' macro for builtin markups, which
[lilypond.git] / lily / include / separating-group-spanner.hh
index bfbe26506224c4fd7ecbb9da67a14010ebf029f3..1419d539718cb0e159eb6c1e25168a2ccbfd96ec 100644 (file)
@@ -1,25 +1,28 @@
-/*   
+/*
   separating-group-spanner.hh -- declare Separating_group_spanner
-  
+
   source file of the GNU LilyPond music typesetter
-  
-  (c) 1998--2000 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"
+#include "grob-interface.hh"
+#include "lily-proto.hh"
 
-class Separating_group_spanner : public Spanner
+class Separating_group_spanner
 {
+  static void find_rods (Item *,
+                        vector<Grob*> const &separators,
+                        vsize idx,
+                        Real);
 public:
-  void add_spacing_unit (Single_malt_grouping_item*);
-  Separating_group_spanner(SCM);
-protected:
-  VIRTUAL_COPY_CONS(Score_element);
-  virtual Array<Rod> get_rods () const;
+  static void add_spacing_unit (Grob *me, Item *);
+
+  DECLARE_GROB_INTERFACE();
+  DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM));
 };
 
 #endif /* SEPARATING_GROUP_SPANNER_HH */