]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
patch::: 1.3.108.jcn1
[lilypond.git] / lily / include / tie.hh
index 861c93fb4f8ea5a6d2b46ca6d61fbfcc61bfc9e1..7155dfbba86397d5f4c479ae829969bbc8546bae 100644 (file)
@@ -3,37 +3,29 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #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, Note_head*head_l);
-  VIRTUAL_COPY_CONS(Score_element);
-  
-  bool same_pitch_b_;
-  Drul_array<Note_head *> head_l_drul_;
-
-protected:
-  virtual void do_add_processing ();
-  virtual void do_post_processing ();
-  virtual void set_default_dir();
-  virtual void do_substitute_dependency (Score_element*,Score_element*);
-  virtual Array<Rod> get_rods () const;
-
-  Array<Offset> get_controls () const;
+  static void set_head (Score_element*,Direction, Item*head_l);
+  static void set_interface (Score_element*);
+  static bool has_interface (Score_element*);
+  static Score_element * head (Score_element*,Direction) ;
+  static Real position_f (Score_element*) ;
+  DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM ));
+  static Direction get_default_dir(Score_element*) ;
+  static SCM get_control_points (SCM);
+  DECLARE_SCHEME_CALLBACK(set_spacing_rods, (SCM ));
 };
 
 #endif // TIE_HH