]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie.hh
release: 0.1.11
[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     Drul_array<Note_head *> head_l_drul_;
27
28     void set_head (Direction, Note_head*head_l);
29
30     Tie();
31     DECLARE_MY_RUNTIME_TYPEINFO;
32     SCORE_ELEM_CLONE(Tie);
33 };
34 #endif // TIE_HH