]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/break-align-interface.hh
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / lily / include / break-align-interface.hh
1 /*
2   break-align-interface.hh -- declare Break_alignment_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 "grob-interface.hh"
13 #include "lily-proto.hh"
14
15 class Break_alignment_interface
16 {
17 public:
18   static vector<Grob*> ordered_elements (Grob *me);
19   DECLARE_GROB_INTERFACE();
20   static void add_element (Grob *me, Grob *add);
21   static SCM break_align_order (Item *me);
22   DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM element));
23   DECLARE_SCHEME_CALLBACK (self_align_callback, (SCM element));
24 };
25
26 struct Break_aligned_interface
27 {
28   DECLARE_GROB_INTERFACE();
29 };
30
31 struct Break_alignable_interface
32 {
33   DECLARE_SCHEME_CALLBACK (self_align_callback, (SCM element));
34   DECLARE_GROB_INTERFACE();
35 };
36
37 #endif // BREAK_ALIGN_INTERFACE_HH