]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
* Documentation/user/refman.itely: Compile fix for \mark #'(music ...).
[lilypond.git] / lily / include / tie.hh
index 347c0be237a9f484fef722f3fb053eb69ef6c759..76592aefa8c7af4392dbf12d0f7c36f2845f21c7 100644 (file)
@@ -3,42 +3,29 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #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*);
-  VIRTUAL_COPY_CONS(Score_element);
-  static Rhythmic_head* 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_;
-  virtual Array<Rod> get_rods () const;
-  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