]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rhythmic-head.hh
patch::: 1.3.62.hwn1
[lilypond.git] / lily / include / rhythmic-head.hh
index 49669f77abfb68ce004ddfcd130c083c987c8a48..8145bd911827b9611d598fb4d520ecc73007145f 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>
 */
 
 
 
 #include "item.hh"
 
+/*
+  Properties
+  
+  duration-log -- 2-log of the notehead duration
+
+  dot -- reference to Dots object.
+
+*/
 class Rhythmic_head : public Item
 {
 public:
-  
-   
-  int balltype_i_;
-  int dots_i_;
-  Dots * dots_l_;
+
+  /*
+    Typically not used, since Rhythmic_head is not breakable.
+   */
+  VIRTUAL_COPY_CONS(Rhythmic_head);
+  int balltype_i () const;
 
   void add_dots (Dots *);
-  Rhythmic_head ();
-protected:
-  virtual void do_add_processing ();
-  virtual void do_print () const;
-  virtual void do_substitute_dependent (Score_element*,Score_element*);
+  Stem * stem_l () const;
+  Dots * dots_l () const;
+  int dot_count () const;
+
+  SCM member_after_line_breaking ();
+  static SCM after_line_breaking (SCM);
+  Rhythmic_head (SCM s);
 };
 
 #endif // RHYTHMIC_HEAD_HH