X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Ftie.hh;h=9764908fe82fc2999a44695283eff9cd6063462a;hb=44ad1d66c072e4d6545e75c769c86a460cb1df13;hp=7155dfbba86397d5f4c479ae829969bbc8546bae;hpb=8ecd09ad7514d57630fb611d38c161f3c3c708db;p=lilypond.git diff --git a/lily/include/tie.hh b/lily/include/tie.hh index 7155dfbba8..9764908fe8 100644 --- a/lily/include/tie.hh +++ b/lily/include/tie.hh @@ -3,29 +3,40 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2000 Han-Wen Nienhuys + (c) 1997--2006 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 (Score_element*,Direction, Item*head_l); - static void set_interface (Score_element*); - static bool has_interface (Score_element*); - static Score_element * head (Score_element*,Direction) ; - static Real position_f (Score_element*) ; - DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM )); - static Direction get_default_dir(Score_element*) ; - 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 void set_control_points (Grob *, Grob *, + Tie_configuration const&, + Tie_details const&); + static void set_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