]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/note-spacing.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / note-spacing.hh
index 1905c72e85550fa9d5dd9666332e5b83ef9244ca..2a86ed27d63823802dc82a51efccc0e699eb4589 100644 (file)
@@ -1,25 +1,26 @@
-/*   
-note-spacing.hh -- declare Note_spacing
+/*
+  note-spacing.hh -- declare Note_spacing
 
-source file of the GNU LilyPond music typesetter
+  source file of the GNU LilyPond music typesetter
 
-(c) 2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
-
- */
+  (c) 2001--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
+*/
 
 #ifndef NOTE_SPACING_HH
 #define NOTE_SPACING_HH
 
+#include "grob-interface.hh"
 #include "lily-proto.hh"
+#include "spring.hh"
 
 class Note_spacing
 {
 public:
-  static bool has_interface (Grob*);
-
-  static Real get_spacing (Grob *me);
+  DECLARE_GROB_INTERFACE();
 
-  DECLARE_SCHEME_CALLBACK(before_line_breaking,(SCM));
+  static Spring get_spacing (Grob *me, Item *, Real, Real);
+  static void stem_dir_correction (Grob *me, Item *next_col, Real incr,
+                                  Real *, Real *);
 };
 
 #endif /* NOTE_SPACING_HH */