]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rest.hh
Merge branch 'jneeman' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond into jneeman
[lilypond.git] / lily / include / rest.hh
index aa33701c9ac979d03bdda2560c29cf6139bce04c..20107120b7c411bef2f4fa8bbbb4441cf04140db 100644 (file)
@@ -3,25 +3,27 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
-
 #ifndef REST_HH
 #define REST_HH
 
-#include "rhythmic-head.hh"
+#include "grob-interface.hh"
+
+class Grob;
 
-class  Rest : public Rhythmic_head
+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 (y_offset_callback, (SCM));
+  DECLARE_GROB_INTERFACE();
+  static string glyph_name (Grob *, int, string, bool);
+  static SCM brew_internal_stencil (Grob*, bool);
+  static SCM generic_extent_callback (Grob*, Axis);
+  DECLARE_SCHEME_CALLBACK (polyphonic_offset_callback, (SCM));
+  DECLARE_SCHEME_CALLBACK (print, (SCM));
+  DECLARE_SCHEME_CALLBACK (width, (SCM));
+  DECLARE_SCHEME_CALLBACK (height, (SCM));
 };
 #endif // REST_HH