]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/break-align-interface.hh
* lily/score.cc (Score): unprotect copy of Output_def. Plugs
[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--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #ifndef BREAK_ALIGN_INTERFACE_HH
10 #define BREAK_ALIGN_INTERFACE_HH
11
12 #include "item.hh"
13
14 class Break_align_interface
15 {
16 public:
17   static void do_alignment (Grob *);
18   static Link_array<Grob> ordered_elements (Grob *me);
19   static bool has_interface (Grob *);
20   static void add_element (Grob *me, Grob *add);
21   DECLARE_SCHEME_CALLBACK (alignment_callback, (SCM element, SCM axis));
22   DECLARE_SCHEME_CALLBACK (self_align_callback, (SCM element, SCM axis));
23 };
24 struct Break_aligned_interface
25 {
26   static bool has_interface (Grob *);
27 };
28
29 #endif // BREAK_ALIGN_INTERFACE_HH