]> git.donarmstrong.com Git - lilypond.git/blob - lib/include/plet.hh
release: 0.1.11
[lilypond.git] / lib / include / plet.hh
1 /*
2   plet.hh -- declare Plet
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 PLET_HH
11 #define PLET_HH
12 #include "moment.hh"
13
14 /** 
15   The type and replacement value of a  plet (triplet, quintuplet.) Conceptually the same as a rational, but 4/6 != 2/3.
16   
17   (plet)
18  */
19 struct Plet {
20   Plet();
21   Moment mom() const;
22   bool unit_b() const;
23   int iso_i_;  // 2/3; 2 is not duration, maar of count!
24   int type_i_; 
25 };
26
27 #endif // PLET_HH