X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftie.hh;h=c47a93306c6cc40f99b477772a5a9237111bdab1;hb=f9214bac21e9926dc3248416f58190c98c4167a9;hp=21a8100703a4b7c94e4b6e9503c9c914713e4925;hpb=5d1ddaf889233f8e5c32a118f9e843e1becca2d2;p=lilypond.git diff --git a/lily/include/tie.hh b/lily/include/tie.hh index 21a8100703..c47a93306c 100644 --- a/lily/include/tie.hh +++ b/lily/include/tie.hh @@ -3,30 +3,39 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2005 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ - #ifndef TIE_HH #define TIE_HH -#include "lily-guile.hh" #include "lily-proto.hh" +#include "skyline.hh" +#include "grob-interface.hh" + + class Tie { public: - static void set_head (Grob*, Direction, Grob*head); - static void set_interface (Grob*); - static bool has_interface (Grob*); - static void set_direction (Grob*); - static Grob * head (Grob*, Direction) ; - static Real get_position (Grob*) ; - DECLARE_SCHEME_CALLBACK (print, (SCM )); - static Direction get_default_dir (Grob*) ; - static SCM get_control_points (SCM); - DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM )); + static void set_head (Grob *, Direction, Grob *head); + DECLARE_GROB_INTERFACE(); + static Grob *head (Grob *, Direction); + static int get_column_rank (Grob *, Direction); + static int get_position (Grob *); + static Direction get_default_dir (Grob *); + static SCM get_control_points (Grob *, Grob *, + Tie_configuration const&, + Tie_details const&); + static SCM get_default_control_points (Grob *); + DECLARE_SCHEME_CALLBACK (print, (SCM)); + DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM)); + DECLARE_SCHEME_CALLBACK (calc_direction, (SCM)); + DECLARE_SCHEME_CALLBACK (calc_control_points, (SCM)); + static bool less (Grob *const &s1, + Grob *const &s2); }; + #endif // TIE_HH