]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/time-signature.hh
* lily/tuplet-bracket.cc (calc_position_and_height): check musical
[lilypond.git] / lily / include / time-signature.hh
index 55c8133d3885da3314dc40017509950f51c40fd5..61b90d8ce116febcec37587cbb4aa114decc618b 100644 (file)
@@ -1,36 +1,28 @@
 /*
   time_signature.hh -- declare Time_signature
 
-  (c) 1996--1998 Han-Wen Nienhuys
+  (c)  1996--2003 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.
-  
- */
-class Time_signature: public Item {
+   TODO:
 
+   2+3+2/8 time_signatures
   
-
-protected:
-  virtual Molecule*brew_molecule_p() const;
-public:
-  Time_signature () ;
-  Array<Real> args_;
-  String time_sig_type_str_;
-  
-  DECLARE_MY_RUNTIME_TYPEINFO;
-  SCORE_ELEMENT_CLONE(Time_signature);
+ */
+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