]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/elem-group-item.hh
8e0fcd515442b399340972e953dfd3bd64adbb8d
[lilypond.git] / lily / include / elem-group-item.hh
1 /*
2   elem-group-item.hh -- declare Horizontal_vertical_group_item
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 ELEM_GROUP_ITEM_HH
11 #define ELEM_GROUP_ITEM_HH
12
13 #include "axis-group-item.hh"
14 #include "elem-group.hh"
15
16
17 /**
18   Treat a collection of items as a unity
19  */
20 class Horizontal_vertical_group_item  : public Axis_group_item, public Horizontal_vertical_group_element {
21 protected:
22     virtual void do_print() const;
23     virtual void remove_all() { Horizontal_vertical_group_element::remove_all (); }
24 public:
25     virtual void add_element (Score_elem*e) { Horizontal_vertical_group_element::add_element (e); }
26     virtual void remove_element (Score_elem*e) { Horizontal_vertical_group_element::remove_element (e); }
27
28     DECLARE_MY_RUNTIME_TYPEINFO;
29     SCORE_ELEM_CLONE(Horizontal_vertical_group_item);
30   
31         
32 };
33
34 #endif // ELEM_GROUP_ITEM_HH