]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie.hh
* scripts/musicxml2ly.py (convert): add \version
[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--2005 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
16
17   
18
19 class Tie
20 {
21 public:
22   static void set_head (Grob *, Direction, Grob *head);
23   static bool has_interface (Grob *);
24   static Grob *head (Grob *, Direction);
25   static int get_column_rank (Grob *, Direction);
26   static int get_position (Grob *);
27   static Direction get_default_dir (Grob *);
28
29 #if 0
30   static void get_configuration (Grob *, Tie_configuration *,
31                                  Tie_formatting_problem const &);
32 #endif
33   
34   static void set_control_points (Grob *, Grob *,
35                                   Tie_configuration const&,
36                                   Tie_details const&);
37   static void set_default_control_points (Grob *);
38   DECLARE_SCHEME_CALLBACK (print, (SCM));
39   DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM));
40   DECLARE_SCHEME_CALLBACK (calc_direction, (SCM));
41   DECLARE_SCHEME_CALLBACK (calc_control_points, (SCM));
42   static int compare (Grob *const &s1,
43                       Grob *const &s2);
44 };
45
46
47 #endif // TIE_HH