]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie.hh
use classnames for interface naming; remove inclusion of
[lilypond.git] / lily / include / tie.hh
1 /*
2   tie.hh -- declare Tie
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 TIE_HH
10 #define TIE_HH
11
12 #include "lily-guile.hh"
13 #include "lily-proto.hh"
14 #include "skyline.hh"
15 #include "grob-interface.hh"
16
17
18   
19
20 class Tie
21 {
22 public:
23   static void set_head (Grob *, Direction, Grob *head);
24   DECLARE_GROB_INTERFACE();
25   static Grob *head (Grob *, Direction);
26   static int get_column_rank (Grob *, Direction);
27   static int get_position (Grob *);
28   static Direction get_default_dir (Grob *);  
29   static void set_control_points (Grob *, Grob *,
30                                   Tie_configuration const&,
31                                   Tie_details const&);
32   static void set_default_control_points (Grob *);
33   DECLARE_SCHEME_CALLBACK (print, (SCM));
34   DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM));
35   DECLARE_SCHEME_CALLBACK (calc_direction, (SCM));
36   DECLARE_SCHEME_CALLBACK (calc_control_points, (SCM));
37   static bool less (Grob *const &s1,
38                     Grob *const &s2);
39 };
40
41
42 #endif // TIE_HH