]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/time-signature.hh
($(outdir)/%.pdf): add DVIPS_FLAGS. This will
[lilypond.git] / lily / include / time-signature.hh
index ea338b29a45511c3f38547b5faa7a3320799ec20..ac25f89c86ef23b2e76dc29407d4d0a7411acd6b 100644 (file)
@@ -1,41 +1,28 @@
 /*
   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
+struct Time_signature
 {
-  Molecule special_time_signature (String,int,int) const;
-  Molecule time_signature (int, int)const;
-  
-protected:
-  Molecule do_brew_molecule() const;
-public:
-  Time_signature (SCM);
- static SCM scheme_molecule (SCM);
-  
-
-  /*
-    TODO: make this SCM!
-   */
-  Array<int> args_;
-  
-  VIRTUAL_COPY_CONS(Score_element);
+  static bool has_interface (Grob*);
+  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