]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie.hh
release: 0.0.68pre
[lilypond.git] / lily / include / tie.hh
1 /*
2   tie.hh -- declare Tie
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef TIE_HH
11 #define TIE_HH
12
13 #include "bow.hh"
14
15 /**
16   Connect two noteheads.
17   */
18 class Tie : public Bow {
19     virtual void do_add_processing();
20     virtual void do_post_processing();
21     virtual void set_default_dir();
22     virtual void do_substitute_dependency(Score_elem*,Score_elem*);
23     
24 public:
25     bool same_pitch_b_;
26     Note_head * left_head_l_;
27     Note_head * right_head_l_;
28     void set_head(int, Note_head*head_l);
29
30     Tie();
31     NAME_MEMBERS();
32     SCORE_ELEM_CLONE(Tie)
33 };
34 #endif // TIE_HH