]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/multi-measure-rest.hh
''
[lilypond.git] / lily / include / multi-measure-rest.hh
index afaeaf777040d7b6a92aa165a69eda93c8c40fe9..3ba796c515131eba49b518ccfbadc2075f7b0de8 100644 (file)
@@ -3,26 +3,30 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1998 Jan Nieuwenhuizen <jan@digicash.com>
+  (c) 1998--2002 Jan Nieuwenhuizen <janneke@gnu.org>
   
  */
 
 #ifndef MULTI_MEASURE_REST_HH
 #define MULTI_MEASURE_REST_HH
 
-#include "item.hh"
+#include "lily-proto.hh"
+#include "lily-guile.hh"
+#include "rod.hh"
 
-class Multi_measure_rest : public Item 
+class Multi_measure_rest
 {
 public:
-  Multi_measure_rest ();
-  int measures_i_;
+  static void set_interface (Grob*);
+  static bool has_interface (Grob*);
+  DECLARE_SCHEME_CALLBACK (brew_molecule, (SCM ));
+  DECLARE_SCHEME_CALLBACK (percent, (SCM));
+  static  void add_column (Grob*,Item*);
+  DECLARE_SCHEME_CALLBACK (set_spacing_rods, (SCM ));
 
-  DECLARE_MY_RUNTIME_TYPEINFO;
-
-protected:
-  virtual void do_print () const;
-  virtual Molecule *brew_molecule_p () const;
+  static Molecule big_rest (Grob*,Real);
+  static Molecule symbol_molecule (Grob*,Real);  
+  static Molecule church_rest (Grob*, Font_metric*, int,Real);
 };
 
 #endif /* MULTI_MEASURE_REST_HH */