]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
2003 -> 2004
[lilypond.git] / lily / include / tie.hh
index 972d2cf97e22511342f76943f9b45fce89600a96..1fe8b121da144016b0b306b4aaf4bd73f2722db4 100644 (file)
@@ -1,28 +1,32 @@
 /*
   tie.hh -- declare Tie
 
-  source file of the LilyPond music typesetter
+  source file of the GNU LilyPond music typesetter
 
-  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #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();
-public:
-    Notehead * left_head_l_;
-    Notehead * right_head_l_;
 
-    void set_head(int, Notehead*head_l);
-    Tie();
-    
+class Tie
+{
+public:
+  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 (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