]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/tie.hh
release: 0.1.58
[lilypond.git] / lily / include / tie.hh
index dc3b812f5ede3a2c143a34a8c7aa2c30ce196150..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:
+    Tie ();
+    void set_head (Direction, Note_head*head_l);
+
+    DECLARE_MY_RUNTIME_TYPEINFO;
+    SCORE_ELEM_CLONE(Tie);
+
     bool same_pitch_b_;
-    Note_head * left_head_l_;
-    Note_head * right_head_l_;
-    void set_head(int, Note_head*head_l);
+    Drul_array<Note_head *> head_l_drul_;
 
-    Tie();
-    NAME_MEMBERS();
-    SPANNER_CLONE(Tie)
+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