]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/time-signature.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / time-signature.hh
index 762f465b98c27cc2c627f7abf5fc7a1465bc5173..07c4968b3453c89254d6962a6fe3356bfcdae02f 100644 (file)
@@ -1,31 +1,28 @@
 /*
   time_signature.hh -- declare Time_signature
 
-  (c) 1996--1998 Han-Wen Nienhuys
+  (c) 1996--2008 Han-Wen Nienhuys
 */
 
 #ifndef METER_HH
 #define METER_HH
-#include "item.hh"
-#include "array.hh"
-#include "scalar.hh"
+
+#include "grob-interface.hh"
+#include "lily-proto.hh"
 
 /**
    Print a time_signature sign.
-  TODO:
 
-  C style time_signatures, 2+3+2/8 time_signatures, alla breve.
-  
- */
-class Time_signature: public Item {
-  Array<Scalar> args;
+   TODO:
 
-protected:
-  virtual Molecule*brew_molecule_p() const;
-public:
-  Time_signature (Array<Scalar> args) ;
-  DECLARE_MY_RUNTIME_TYPEINFO;
-  SCORE_ELEMENT_CLONE(Time_signature);
+   2+3+2/8 time_signatures
+*/
+struct Time_signature
+{
+  DECLARE_GROB_INTERFACE();
+  static Stencil special_time_signature (Grob *, SCM, int, int);
+  static Stencil numbered_time_signature (Grob *, int, int);
+  DECLARE_SCHEME_CALLBACK (print, (SCM));
 };
 #endif // METER_HH