]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/time-signature.hh
patch::: 1.3.58.jcn2
[lilypond.git] / lily / include / time-signature.hh
1 /*
2   time_signature.hh -- declare Time_signature
3
4   (c) 1996--2000 Han-Wen Nienhuys
5 */
6
7 #ifndef METER_HH
8 #define METER_HH
9
10 #include "item.hh"
11 #include "array.hh"
12 #include "real.hh"
13
14 /**
15    Print a time_signature sign.
16   TODO:
17
18   C style time_signatures, 2+3+2/8 time_signatures, alla breve.
19   
20  */
21 class Time_signature: public Item
22 {
23   Molecule special_time_signature (String,int,int) const;
24   Molecule time_signature (int, int)const;
25   
26 protected:
27   Molecule do_brew_molecule() const;
28 public:
29   Time_signature (SCM);
30  static SCM scheme_molecule (SCM);
31   
32
33   /*
34     TODO: make this SCM!
35    */
36   Array<int> args_;
37   
38   VIRTUAL_COPY_CONS(Score_element);
39 };
40 #endif // METER_HH
41