#include "group-interface.hh"
-struct Axis_group_interface : Group_interface
+/**
+ Treat a group of elements as a union. This sets the parent of any S
+ added to ELT_L_ to ELT_L_.
+
+ Properties:
+*/
+struct Axis_group_interface
{
- Axis_group_interface (Score_element*);
- static Interval group_extent_callback (Dimension_cache const*);
- void add_element (Score_element*);
- void set_axes (Axis,Axis);
- bool axis_b (Axis)const;
- Link_array<Score_element> get_children ();
- bool has_interface_b ();
- void set_interface ();
-};
+ DECLARE_SCHEME_CALLBACK(group_extent_callback, (SCM smob, SCM axis));
+ static Interval relative_group_extent (Axis, Score_element * common, SCM list);
-Axis_group_interface
-axis_group (Score_element*);
+ static void add_element (Score_element* me, Score_element*);
+ static void set_axes (Score_element*,Axis,Axis);
+ static bool axis_b (Score_element*,Axis);
+ static Link_array<Score_element> get_children (Score_element*);
+ static bool has_interface (Score_element*);
+ static void set_interface (Score_element*);
+
+};
#endif /* AXIS_GROUP_INTERFACE_HH */