]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
release: 1.3.109
[lilypond.git] / lily / include / tie.hh
index 422a9fa375b33162a944323a4da3e4ed812f135d..6c5be3f4d7504747f0e498aca1ce3a5f131f0086 100644 (file)
 #ifndef TIE_HH
 #define TIE_HH
 
-#include "spanner.hh"
-#include "rod.hh"
+#include "lily-guile.hh"
+#include "lily-proto.hh"
 
-/**
-  Connect two noteheads.
-  */
-class Tie : public Spanner
+
+class Tie
 {
 public:
-  Tie (SCM);
-  static void set_head (Score_element*,Direction, Item*head_l);
-  static void set_interface (Score_element*);
-  static bool has_interface (Score_element*);
-  VIRTUAL_COPY_CONS(Score_element);
-  static Score_element * head (Score_element*,Direction) ;
-  static Real position_f (Score_element*) ;
-  static SCM brew_molecule (SCM);
-  static Direction get_default_dir(Score_element*) ;
-  static SCM after_line_breaking (SCM);
-
-
-  /*
-    JUNKME
-   */
-  Array<Offset> get_encompass_offset_arr () const;
-  Bezier get_curve () const;
-  Drul_array<Real> dy_f_drul_;
-  Drul_array<Real> dx_f_drul_;
-  static SCM set_spacing_rods (SCM);
-  Array<Offset> get_controls () const;
+  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