]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/spacing-interface.hh
introduce Spacing_interface for code sharing between Note_spacing and Staff_spacing
[lilypond.git] / lily / include / spacing-interface.hh
1 /*
2   spacing-interface.hh -- declare Spacing_interface
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2002--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8 #include "grob-interface.hh"
9 #include "lily-proto.hh"
10
11 #ifndef SPACING_INTERFACE_HH
12 #define SPACING_INTERFACE_HH
13
14 struct Spacing_interface
15 {
16   static Real minimum_distance (Grob *me);
17   static Drul_array<Item*> note_columns (Grob *me);
18   static Item* right_column (Grob *me);
19   static Item* left_column (Grob *me);
20
21   DECLARE_GROB_INTERFACE();
22 };
23
24 #endif /* SPACING_INTERFACE_HH */