]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/break-align-interface.hh
a79e7e0a39975ce8a373a11721097e82dc2cf210
[lilypond.git] / lily / include / break-align-interface.hh
1 /*
2   break-align-interface.hh -- declare Break_align_interface
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef BREAK_ALIGN_INTERFACE_HH
11 #define BREAK_ALIGN_INTERFACE_HH
12
13 #include "item.hh"
14
15 class Break_align_interface
16 {
17 public:
18   static void do_alignment (Grob*);
19   static Link_array<Grob> ordered_elements (Grob *me);
20   static bool has_interface (Grob*);
21   static void add_element (Grob*me, Grob*add);
22   DECLARE_SCHEME_CALLBACK (alignment_callback, (SCM element, SCM axis));
23   DECLARE_SCHEME_CALLBACK (self_align_callback, (SCM element, SCM axis));
24   
25 };
26 struct Break_aligned_interface
27 {
28   static bool has_interface (Grob*);
29 };
30
31
32 #endif // BREAK_ALIGN_INTERFACE_HH