]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rhythmic-head.hh
release: 1.3.66
[lilypond.git] / lily / include / rhythmic-head.hh
index 84a1728b0a4ac7d89c11dda7461bcba87f209edd..33e7bb279b6baa5e8c688b168201eb32c79f6868 100644 (file)
@@ -1,9 +1,9 @@
 /*
-  rhythmic-head.hh -- declare 
+  rhythmic-head.hh -- declare Rhythmic_head
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@stack.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:
-  DECLARE_MY_RUNTIME_TYPEINFO;
-   
-  int balltype_i_;
-  int dots_i_;
-  Dots * dots_l_;
-
-  void add (Dots *);
-  Rhythmic_head ();
-protected:
-  virtual void do_add_processing ();
-  virtual void do_print () const;
-  virtual void do_substitute_dependent (Score_elem*,Score_elem*);
+
+  /*
+    Typically not used, since Rhythmic_head is not breakable.
+   */
+  VIRTUAL_COPY_CONS(Rhythmic_head);
+  int balltype_i () const;
+
+  void add_dots (Item *);
+  Stem * stem_l () const;
+  Item * 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