]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rest.hh
release: 1.3.19
[lilypond.git] / lily / include / rest.hh
index 67ca259f545429bcfb35fea1fe7ec6f26cfd0520..ce95e6396bc4b2f4035508eeacfc016b7032001c 100644 (file)
@@ -1,27 +1,21 @@
 /*
-  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--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
+
 #ifndef REST_HH
 #define REST_HH
-#include "item.hh"
-
-struct Rest : Item {
 
-    int dots;
-    int balltype;
-    
-    /// rests can be translated up and down.
-    int pos_i_;
-    /* *************** */
+#include "rhythmic-head.hh"
 
-
-    Rest(Duration);
-    void do_print()const;
-NAME_MEMBERS(Rest);
-    Molecule* brew_molecule_p()const;
+class  Rest : public Rhythmic_head
+{
+protected:
+  virtual void do_post_processing ();
+  virtual Molecule * do_brew_molecule_p () const;
 };
-#endif 
-
+#endif // REST_HH