]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/axis-group-spanner.hh
64c2df98b2cd6bc964774969baf292ff4faa9618
[lilypond.git] / lily / include / axis-group-spanner.hh
1 /*
2   axis-group-spanner.hh -- declare Axis_group_spanner
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef SPAN_AXIS_GROUP_HH
11 #define SPAN_AXIS_GROUP_HH
12
13 #include "spanner.hh"
14 #include "axis-group-element.hh"
15
16 /** An element which groups a line in a certain direction. The most
17   useful example of this is the Vertical_group_spanner */
18 class Axis_group_spanner : public Spanner, public virtual Axis_group_element
19 {
20   void do_break_processing_if_unbroken();
21 protected:
22   virtual void do_junk_links () { 
23     Spanner::do_junk_links();
24     Axis_group_element::do_junk_links();
25   }
26   virtual void do_unlink() {
27     Spanner::do_unlink();
28     Axis_group_element::do_unlink();
29   }
30   virtual void do_break_processing();
31   virtual void do_print() const;
32
33 public:
34   DECLARE_MY_RUNTIME_TYPEINFO;
35 };
36
37 #endif // SPAN_AXIS_GROUP_HH