]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
* lily/scores.cc (Input_file_settings): Initalize global_header_.
[lilypond.git] / lily / include / tie.hh
index 8cf2fef4a53603902e5c24229b8777bd4e32f8d4..186da434a9c1518c17001e9dfeae9b070702e3f0 100644 (file)
@@ -3,32 +3,29 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c)  1997--2002 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*);
-    
+#include "lily-guile.hh"
+#include "lily-proto.hh"
+
+
+class Tie
+{
 public:
-    bool same_pitch_b_;
-    Note_head * left_head_l_;
-    Note_head * right_head_l_;
-    void set_head(int, Note_head*head_l);
-
-    Tie();
-    NAME_MEMBERS();
-    SCORE_ELEM_CLONE(Tie);
+  static void set_head (Grob*,Direction, Item*head);
+  static void set_interface (Grob*);
+  static bool has_interface (Grob*);
+  static Grob * head (Grob*,Direction) ;
+  static Real get_position (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