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>
*/
#ifndef SPAN_VERTICAL_GROUP_HH
#define SPAN_VERTICAL_GROUP_HH
-#include "spanner.hh"
-#include "elem-group.hh"
+#include "axis-group-spanner.hh"
+#include "vertical-group-element.hh"
-/** An element which groups a line. Due to technical problems, this
- cannot be used as a baseclass */
-class Vertical_group_spanner : public Spanner, public Vertical_group
+/** An element which groups a line.
+ */
+class Vertical_group_spanner : public Axis_group_spanner, public Vertical_group_element
{
protected:
- virtual void do_break_processing();
- virtual void do_print()const;
- VIRTUAL_COPY_CONS(Vertical_group_spanner, Score_elem);
-
-private:
- void remove_all();
- /// shouldn't be copied.
- Vertical_group_spanner(Vertical_group_spanner const&);
-
+ 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:
- Vertical_group_spanner();
- DECLARE_MY_RUNTIME_TYPEINFO;
+
+ Vertical_group_spanner ();
};
+
#endif // SPAN_VERTICAL_GROUP_HH