X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftie.hh;h=2c4f3a52a4240c80ce88e083d726a07954ff5b4f;hb=refs%2Ftags%2Frelease%2F1.5.27;hp=7f03564866a36dbfe608015e70e71d77f455b153;hpb=52102901e53611ad7bad111c2f9d414d2e593bc3;p=lilypond.git diff --git a/lily/include/tie.hh b/lily/include/tie.hh index 7f03564866..2c4f3a52a4 100644 --- a/lily/include/tie.hh +++ b/lily/include/tie.hh @@ -1,28 +1,31 @@ /* tie.hh -- declare Tie - source file of the LilyPond music typesetter + source file of the GNU LilyPond music typesetter - (c) 1997 Han-Wen Nienhuys + (c) 1997--2001 Han-Wen Nienhuys */ #ifndef TIE_HH #define TIE_HH -#include "bow.hh" +#include "lily-guile.hh" +#include "lily-proto.hh" -class Tie : public Bow { - virtual Spanner* do_break_at(PCol*,PCol*)const; - virtual void do_add_processing(); - virtual void do_post_processing(); - virtual void set_default_dir(); + +class Tie +{ public: - bool same_pitch_b_; - Notehead * left_head_l_; - Notehead * right_head_l_; - void set_head(int, Notehead*head_l); - Tie(); - + static void set_head (Grob*,Direction, Item*head_l); + static void set_interface (Grob*); + static bool has_interface (Grob*); + static Grob * head (Grob*,Direction) ; + static Real position_f (Grob*) ; + DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM )); + static Direction get_default_dir (Grob*) ; + static SCM get_control_points (SCM); + DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM )); }; + #endif // TIE_HH