lilypond-1.1.32
[lilypond.git] / hdr / slur.hh
blob87f1fe855ea71bd7fc623a4dd818e8bae80fb26c
1 /*
2 slur.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
5 */
7 #ifndef SLUR_HH
8 #define SLUR_HH
10 #include "directional-spanner.hh"
11 #include "fproto.hh"
12 #include "varray.hh"
14 struct Slur : Directional_spanner {
16 Array<Notehead*> encompass;
18 bool open_left, open_right;
20 /* *************** */
21 Offset center() const;
22 Slur();
23 void do_post_processing();
24 void do_pre_processing();
25 void add(Notehead*);
26 void set_default_dir();
28 Spanner* do_break_at( PCol*, PCol*) const;
29 void process();
30 private:
31 Molecule*brew_molecule_p()const;
32 NAME_MEMBERS(Slur);
35 #endif // SLUR_HH