]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/vertical-group-spanner.hh
release: 1.1.6
[lilypond.git] / lily / include / vertical-group-spanner.hh
index ee08375d6ecbce87b58dab1bea8501c8241d6657..1368a5adf3947a2cbbd5c15fc212df8370af90d2 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #define SPAN_VERTICAL_GROUP_HH
 
 #include "axis-group-spanner.hh"
-#include "elem-group.hh"
+#include "vertical-group-element.hh"
 
 /** An element which groups a line. 
  */
 class Vertical_group_spanner : public Axis_group_spanner, public Vertical_group_element
 {
 protected:
-    SCORE_ELEM_CLONE(Vertical_group_spanner);
-    virtual void remove_all() { Vertical_group_element::remove_all (); }
+  VIRTUAL_COPY_CONS(Score_element);
+  virtual void do_junk_links () { Axis_group_spanner::do_junk_links (); }
+  virtual void do_unlink () { Axis_group_spanner::do_unlink (); }
 public:
-    DECLARE_MY_RUNTIME_TYPEINFO;
-    virtual void add_element (Score_elem*e) { Vertical_group_element::add_element (e); }
-    virtual void remove_element (Score_elem*e) { Vertical_group_element::remove_element (e); }
   
+  Vertical_group_spanner ();
 };
 
+
 #endif // SPAN_VERTICAL_GROUP_HH