]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/spaceable-grob.hh
f7ae552f8402636dbf3b275e834fc29f2accceec
[lilypond.git] / lily / include / spaceable-grob.hh
1 /*
2   spaceable-grob.hh -- declare Spaceable_grob
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2000--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef SPACEABLE_GROB_HH
10 #define SPACEABLE_GROB_HH
11
12 #include "lily-proto.hh"
13 #include "grob-interface.hh"
14 #include "spring.hh"
15
16 struct Spaceable_grob
17 {
18   /// set a minimum distance
19   static void add_rod (Grob *me, Grob *to, Real distance);
20   static void add_spring (Grob *me, Grob *to, Spring sp);
21   static Spring get_spring (Grob *me, Grob *other);
22
23   DECLARE_GROB_INTERFACE();
24   static SCM get_minimum_distances (Grob *);
25   static SCM get_ideal_distances (Grob *);
26 };
27
28 #endif /* SPACEABLE_GROB_HH */
29