]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rhythmic-head.hh
''
[lilypond.git] / lily / include / rhythmic-head.hh
index 84a1728b0a4ac7d89c11dda7461bcba87f209edd..7cb64250ca970ea4ca878351f3940a34c4f3b67f 100644 (file)
@@ -1,32 +1,29 @@
 /*
-  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--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #ifndef RHYTHMIC_HEAD_HH
 #define RHYTHMIC_HEAD_HH
 
-#include "item.hh"
+#include "lily-guile.hh"
+#include "lily-proto.hh"
 
-class Rhythmic_head : public Item
+class Rhythmic_head
 {
 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*);
+  static int balltype_i (Grob*) ;
+  static void set_dots (Grob*,Item *);
+  static Item * stem_l (Grob*) ;
+  static Item * dots_l (Grob*) ;
+  static int dot_count (Grob*) ;
+  DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM ));
+  static bool has_interface (Grob*);
+  static void set_interface (Grob*);
 };
 
 #endif // RHYTHMIC_HEAD_HH