]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rest.hh
($(outdir)/%.pdf): add DVIPS_FLAGS. This will
[lilypond.git] / lily / include / rest.hh
index 85c72666772e62cd55c3a17414ca4ed16986add1..88e9a74eed713caff0a2a0b78b35216f5fb8e8c4 100644 (file)
@@ -1,25 +1,25 @@
 /*
-  rest.hh -- part of LilyPond
+  rest.hh -- declare Rest
 
-  (c) 1996,97 Han-Wen Nienhuys
+  source file of the GNU LilyPond music typesetter
+
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
+
 #ifndef REST_HH
 #define REST_HH
-#include "item.hh"
-
-struct Rest : Item {
-
-    int dots;
-    int balltype;
 
-    /* *************** */
-
-
-    Rest(int dur,int dots);
-    void do_print()const;
-NAME_MEMBERS(Rest);
-    Molecule* brew_molecule_p()const;
+#include "lily-guile.hh"
+
+class  Rest
+{
+public:
+  DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM ));
+  static bool has_interface (Grob*);
+  static String glyph_name (Grob*, int, String); 
+  static SCM brew_internal_stencil (SCM);
+  DECLARE_SCHEME_CALLBACK (extent_callback, (SCM,SCM));
+  DECLARE_SCHEME_CALLBACK (print, (SCM ));
 };
-#endif 
-
+#endif // REST_HH