]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/rhythmic-head.hh
2003 -> 2004
[lilypond.git] / lily / include / rhythmic-head.hh
index 33e7bb279b6baa5e8c688b168201eb32c79f6868..02d1969730866fe4b840f2fbffc5d7fda74393db 100644 (file)
@@ -3,41 +3,27 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 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"
 
-/*
-  Properties
-  
-  duration-log -- 2-log of the notehead duration
-
-  dot -- reference to Dots object.
-
-*/
-class Rhythmic_head : public Item
+class Rhythmic_head
 {
 public:
-
-  /*
-    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);
+  static int duration_log (Grob*);
+  static void set_dots (Grob*,Item *);
+  static Item * get_stem (Grob*) ;
+  static Item * get_dots (Grob*) ;
+  static int dot_count (Grob*) ;
+  DECLARE_SCHEME_CALLBACK (after_line_breaking, (SCM ));
+  static bool has_interface (Grob*);
+  
 };
 
 #endif // RHYTHMIC_HEAD_HH