]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
release: 0.1.11
[lilypond.git] / lily / include / tie.hh
index 9247b26156cdb4c1a13bf92d33473edc31325336..30673fc9eede1ea7fc21b7b96f40af37faeb0788 100644 (file)
@@ -1,7 +1,7 @@
 /*
   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>
 */
 
 #include "bow.hh"
 
+/**
+  Connect two noteheads.
+  */
 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();
+    virtual void do_substitute_dependency (Score_elem*,Score_elem*);
+    
 public:
-    Notehead * left_head_l_;
-    Notehead * right_head_l_;
+    bool same_pitch_b_;
+    Drul_array<Note_head *> head_l_drul_;
+
+    void set_head (Direction, Note_head*head_l);
 
-    void set_head(int, Notehead*head_l);
     Tie();
-    
+    DECLARE_MY_RUNTIME_TYPEINFO;
+    SCORE_ELEM_CLONE(Tie);
 };
 #endif // TIE_HH