]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/time-signature.hh
*** empty log message ***
[lilypond.git] / lily / include / time-signature.hh
index 762f465b98c27cc2c627f7abf5fc7a1465bc5173..9c39e9221b7a4a6af5320365e0fb5103e33b75ed 100644 (file)
@@ -1,31 +1,28 @@
 /*
   time_signature.hh -- declare Time_signature
 
-  (c) 1996--1998 Han-Wen Nienhuys
+  (c) 1996--2002 Han-Wen Nienhuys
 */
 
 #ifndef METER_HH
 #define METER_HH
+
 #include "item.hh"
-#include "array.hh"
-#include "scalar.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 {
-  Array<Scalar> args;
-
-protected:
-  virtual Molecule*brew_molecule_p() const;
-public:
-  Time_signature (Array<Scalar> args) ;
-  DECLARE_MY_RUNTIME_TYPEINFO;
-  SCORE_ELEMENT_CLONE(Time_signature);
+struct Time_signature
+{
+  static bool has_interface (Grob*);
+  static Molecule special_time_signature (Grob*,String,int,int) ;
+  static Molecule time_signature (Grob*,int, int);
+  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
 };
 #endif // METER_HH