]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rhythmic-head.hh
release: 1.3.94
[lilypond.git] / lily / include / rhythmic-head.hh
index 58063bd501bf49288c4ec491ce411899c6dfac78..855f84b7f7beef921a7e6fbe72104c0b6a6b5ea8 100644 (file)
@@ -3,33 +3,35 @@
 
   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>
 */
 
 
 #ifndef RHYTHMIC_HEAD_HH
 #define RHYTHMIC_HEAD_HH
 
-#include "item.hh"
-#include "staff-symbol-referencer.hh"
+#include "lily-guile.hh"
+#include "lily-proto.hh"
 
-class Rhythmic_head : public Item, public Staff_symbol_referencer
-{
-  Dots * dots_l_;
-  Stem * stem_l_;
-public:
-
-  int balltype_i_;
+/*
+  Properties
+  
+  duration-log -- 2-log of the notehead duration
 
-  void add_dots (Dots *);
-  Rhythmic_head ();
-  Stem * stem_l ()const;
-  Dots * dots_l ()const;
-  int dots_i ()const;
-protected:
-  virtual void do_post_processing ();
+  dot -- reference to Dots object.
 
-  virtual void do_print () const;
+*/
+class Rhythmic_head
+{
+public:
+  static int balltype_i (Score_element*) ;
+  static void set_dots (Score_element*,Item *);
+  static Item * stem_l (Score_element*) ;
+  static Item * dots_l (Score_element*) ;
+  static int dot_count (Score_element*) ;
+  DECLARE_SCHEME_CALLBACK(after_line_breaking, (SCM ));
+  static bool has_interface (Score_element*);
+  static void set_interface (Score_element*);
 };
 
 #endif // RHYTHMIC_HEAD_HH