lilypond-1.3.16
[lilypond.git] / lily / include / tuplet-spanner.hh
blob662ded9f98f19b68c60aeb2256331082ae047efe
1 /*
2 plet-spanner.hh -- part of GNU LilyPond
4 (c) 1997--1999 Jan Nieuwenhuizen <janneke@gnu.org>
5 */
7 #ifndef Tuplet_spanner_HH
8 #define Tuplet_spanner_HH
10 #include "pointer.hh"
11 #include "spanner.hh"
13 /** supportable plet: triplets, eentweetjes, ottava, etc.
15 TODO: quantise, we don't want to collide with staff lines.
16 (or should we be above staff?)
18 todo: handle breaking elegantly.
20 class Tuplet_spanner : public Spanner
22 public:
23 Tuplet_spanner ();
25 void add_column (Note_column*);
26 void add_beam (Beam*);
29 JUNKME.
31 String number_str_;
33 bool parallel_beam_b_;
35 protected:
36 virtual Molecule* do_brew_molecule_p () const;
37 VIRTUAL_COPY_CONS(Score_element);
38 virtual void do_add_processing ();
39 virtual void do_post_processing ();
40 virtual Direction get_default_dir () const;
43 #endif // Tuplet_spanner_HH