]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
release: 0.1.58
[lilypond.git] / lily / include / tie.hh
index fde107fb8120966a88aa3fb873e7c4067ce9bc7a..a1100653ae6d15d88cadd25f74a5496cc2050d1e 100644 (file)
 /**
   Connect two noteheads.
   */
-class Tie : public Bow {
-    virtual void do_add_processing();
-    virtual void do_post_processing();
-    virtual void set_default_dir();
-    virtual void do_substitute_dependency (Score_elem*,Score_elem*);
-    
+class Tie : public Bow
+{
 public:
-    bool same_pitch_b_;
-    Note_head * left_head_l_;
-    Note_head * right_head_l_;
-    void set_head (int, Note_head*head_l);
+    Tie ();
+    void set_head (Direction, Note_head*head_l);
 
-    Tie();
     DECLARE_MY_RUNTIME_TYPEINFO;
     SCORE_ELEM_CLONE(Tie);
+
+    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_elem*,Score_elem*);
+    Array<Offset> get_controls () const;
 };
 #endif // TIE_HH