]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie.hh
release: 1.3.16
[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--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef TIE_HH
11 #define TIE_HH
12
13 #include "bow.hh"
14 #include "rod.hh"
15
16 /**
17   Connect two noteheads.
18   */
19 class Tie : public Bow
20 {
21 public:
22   Tie ();
23   void set_head (Direction, Item*head_l);
24   VIRTUAL_COPY_CONS(Score_element);
25
26   Note_head* head (Direction) const;
27 protected:
28   virtual void do_add_processing ();
29   virtual void do_post_processing ();
30   virtual Direction get_default_dir() const;
31
32   virtual Array<Rod> get_rods () const;
33
34   Array<Offset> get_controls () const;
35 };
36
37 #endif // TIE_HH