X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Ftie.hh;h=1f00f89efac4889d15553750979043f497f52ffc;hb=e0988eeea32b500865c544cf2580e7239f4cea3e;hp=7fe61a3850e2057c5fb7dd96384e2fc480e95fe6;hpb=f6e3a77381e8eb67aa01195ec3945bd978f86aa8;p=lilypond.git diff --git a/lily/include/tie.hh b/lily/include/tie.hh index 7fe61a3850..1f00f89efa 100644 --- a/lily/include/tie.hh +++ b/lily/include/tie.hh @@ -3,35 +3,30 @@ source file of the GNU LilyPond music typesetter - (c) 1997--1999 Han-Wen Nienhuys + (c) 1997--2004 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, 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 )); }; #endif // TIE_HH