]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/vertical-group-spanner.hh
release: 0.1.7
[lilypond.git] / lily / include / vertical-group-spanner.hh
1 /*
2   vertical-group-spanner.hh -- declare Vertical_group_spanner
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef SPAN_VERTICAL_GROUP_HH
11 #define SPAN_VERTICAL_GROUP_HH
12
13 #include "axis-group-spanner.hh"
14 #include "elem-group.hh"
15
16 /** An element which groups a line. 
17  */
18 class Vertical_group_spanner : public Axis_group_spanner, public Vertical_group_element
19 {
20 protected:
21     SCORE_ELEM_CLONE(Vertical_group_spanner);
22     virtual void remove_all() { Vertical_group_element::remove_all(); }
23 public:
24     DECLARE_MY_RUNTIME_TYPEINFO;
25     virtual void add_element(Score_elem*e) { Vertical_group_element::add_element(e); }
26     virtual void remove_element(Score_elem*e) { Vertical_group_element::remove_element(e); }
27   
28 };
29
30 #endif // SPAN_VERTICAL_GROUP_HH