]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie.hh
release: 1.0.1
[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--1998 Han-Wen Nienhuys <hanwen@cs.uu.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 {
20 public:
21     Tie ();
22     void set_head (Direction, Note_head*head_l);
23
24     DECLARE_MY_RUNTIME_TYPEINFO;
25     SCORE_ELEMENT_CLONE(Tie);
26
27     bool same_pitch_b_;
28     Drul_array<Note_head *> head_l_drul_;
29
30 protected:
31     virtual void do_add_processing ();
32     virtual void do_post_processing ();
33     virtual void set_default_dir();
34     virtual void do_substitute_dependency (Score_element*,Score_element*);
35     Array<Offset> get_controls () const;
36 };
37 #endif // TIE_HH