]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/break-align-interface.hh
Merge with git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond.git
[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--2006 Han-Wen Nienhuys <hanwen@xs4all.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 vector<Grob*> ordered_elements (Grob *me);
18   static bool has_interface (Grob *);
19   static void add_element (Grob *me, Grob *add);
20   static SCM break_align_order (Item *me);
21   DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM element));
22   DECLARE_SCHEME_CALLBACK (self_align_callback, (SCM element));
23 };
24
25 struct Break_aligned_interface
26 {
27   static bool has_interface (Grob *);
28 };
29
30 struct Break_alignment_align_interface
31 {
32   DECLARE_SCHEME_CALLBACK (self_align_callback, (SCM element));
33   static bool has_interface (Grob *);
34 };
35
36 #endif // BREAK_ALIGN_INTERFACE_HH