]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rest.hh
(LY_DEFINE): new file.
[lilypond.git] / lily / include / rest.hh
index aa33701c9ac979d03bdda2560c29cf6139bce04c..e71d12657df9485425097904833b459786bbc366 100644 (file)
@@ -3,25 +3,26 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef REST_HH
 #define REST_HH
 
-#include "rhythmic-head.hh"
+#include "lily-guile.hh"
 
-class  Rest : public Rhythmic_head
+class Grob;
+
+class  Rest
 {
 public:
-  
-  
-  int position_i_;
-  Rest ();
-  void add_dots (Dots*);
-protected:
-  virtual void do_add_processing ();
-  virtual Molecule * do_brew_molecule_p () const;
+  DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM ));
+  static bool has_interface (Grob*);
+  static String glyph_name (Grob*, int, String, bool); 
+  static SCM brew_internal_stencil (SCM, bool);
+  DECLARE_SCHEME_CALLBACK (extent_callback, (SCM,SCM));
+  DECLARE_SCHEME_CALLBACK (polyphonic_offset_callback, (SCM,SCM));
+  DECLARE_SCHEME_CALLBACK (print, (SCM ));
 };
 #endif // REST_HH