/*
time_signature.hh -- declare Time_signature
- (c) 1996--2000 Han-Wen Nienhuys
+ (c) 1996--2004 Han-Wen Nienhuys
*/
#ifndef METER_HH
#define METER_HH
#include "item.hh"
-#include "array.hh"
-#include "real.hh"
/**
Print a time_signature sign.
- TODO:
- C style time_signatures, 2+3+2/8 time_signatures, alla breve.
+ TODO:
+
+ 2+3+2/8 time_signatures
*/
-class Time_signature: public Item {
-protected:
- virtual Molecule*do_brew_molecule_p() const;
-public:
- Time_signature () ;
- Array<int> args_;
-
- VIRTUAL_COPY_CONS(Score_element);
+struct Time_signature
+{
+ static bool has_interface (Grob*);
+ static Molecule special_time_signature (Grob*,SCM,int,int) ;
+ static Molecule numbered_time_signature (Grob*,int, int);
+ DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
};
#endif // METER_HH