]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rhythmic-head.hh
release: 1.3.66
[lilypond.git] / lily / include / rhythmic-head.hh
index 58063bd501bf49288c4ec491ce411899c6dfac78..33e7bb279b6baa5e8c688b168201eb32c79f6868 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #define RHYTHMIC_HEAD_HH
 
 #include "item.hh"
-#include "staff-symbol-referencer.hh"
 
-class Rhythmic_head : public Item, public Staff_symbol_referencer
+/*
+  Properties
+  
+  duration-log -- 2-log of the notehead duration
+
+  dot -- reference to Dots object.
+
+*/
+class Rhythmic_head : public Item
 {
-  Dots * dots_l_;
-  Stem * stem_l_;
 public:
 
-  int balltype_i_;
+  /*
+    Typically not used, since Rhythmic_head is not breakable.
+   */
+  VIRTUAL_COPY_CONS(Rhythmic_head);
+  int balltype_i () const;
 
-  void add_dots (Dots *);
-  Rhythmic_head ();
-  Stem * stem_l ()const;
-  Dots * dots_l ()const;
-  int dots_i ()const;
-protected:
-  virtual void do_post_processing ();
+  void add_dots (Item *);
+  Stem * stem_l () const;
+  Item * dots_l () const;
+  int dot_count () const;
 
-  virtual void do_print () const;
+  SCM member_after_line_breaking ();
+  static SCM after_line_breaking (SCM);
+  Rhythmic_head (SCM s);
 };
 
 #endif // RHYTHMIC_HEAD_HH