]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
release: 1.5.19
[lilypond.git] / lily / include / tie.hh
index 30673fc9eede1ea7fc21b7b96f40af37faeb0788..2c4f3a52a4240c80ce88e083d726a07954ff5b4f 100644 (file)
@@ -3,32 +3,29 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef TIE_HH
 #define TIE_HH
 
-#include "bow.hh"
-
-/**
-  Connect two noteheads.
-  */
-class Tie : public Bow {
-    virtual void do_add_processing();
-    virtual void do_post_processing();
-    virtual void set_default_dir();
-    virtual void do_substitute_dependency (Score_elem*,Score_elem*);
-    
-public:
-    bool same_pitch_b_;
-    Drul_array<Note_head *> head_l_drul_;
+#include "lily-guile.hh"
+#include "lily-proto.hh"
 
-    void set_head (Direction, Note_head*head_l);
 
-    Tie();
-    DECLARE_MY_RUNTIME_TYPEINFO;
-    SCORE_ELEM_CLONE(Tie);
+class Tie
+{
+public:
+  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