X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fnote-spacing.hh;h=2a86ed27d63823802dc82a51efccc0e699eb4589;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=1905c72e85550fa9d5dd9666332e5b83ef9244ca;hpb=8dbb0048c1ac59125562d5adc1c68512eab8541b;p=lilypond.git diff --git a/lily/include/note-spacing.hh b/lily/include/note-spacing.hh index 1905c72e85..2a86ed27d6 100644 --- a/lily/include/note-spacing.hh +++ b/lily/include/note-spacing.hh @@ -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 - - */ + (c) 2001--2008 Han-Wen Nienhuys +*/ #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 */