X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftie.hh;h=76592aefa8c7af4392dbf12d0f7c36f2845f21c7;hb=d9b43b93f2c885409bafdb157138158f65cc49aa;hp=7fe61a3850e2057c5fb7dd96384e2fc480e95fe6;hpb=f6e3a77381e8eb67aa01195ec3945bd978f86aa8;p=lilypond.git diff --git a/lily/include/tie.hh b/lily/include/tie.hh index 7fe61a3850..76592aefa8 100644 --- a/lily/include/tie.hh +++ b/lily/include/tie.hh @@ -3,35 +3,29 @@ source file of the GNU LilyPond music typesetter - (c) 1997--1999 Han-Wen Nienhuys + (c) 1997--2002 Han-Wen Nienhuys */ #ifndef TIE_HH #define TIE_HH -#include "bow.hh" -#include "rod.hh" +#include "lily-guile.hh" +#include "lily-proto.hh" -/** - Connect two noteheads. - */ -class Tie : public Bow + +class Tie { public: - Tie (); - void set_head (Direction, Item*head_l); - VIRTUAL_COPY_CONS(Score_element); - - Note_head* head (Direction) const; -protected: - virtual void do_add_processing (); - virtual void do_post_processing (); - virtual Direction get_default_dir() const; - - virtual Array get_rods () const; - - Array get_controls () const; + 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