X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Frest.hh;h=ed67c6310704bf855a68a0ac9d0a2aa26c02b7c9;hb=2909349bdbefbf880fa9c8c47ba2eddf9f9855ca;hp=204c19f407ce48d18561dd07e84ef372ca6a3175;hpb=9b40d66187029df3dca86fc5ecc65f64db315a48;p=lilypond.git diff --git a/lily/include/rest.hh b/lily/include/rest.hh index 204c19f407..ed67c63107 100644 --- a/lily/include/rest.hh +++ b/lily/include/rest.hh @@ -3,27 +3,28 @@ source file of the GNU LilyPond music typesetter - (c) 1997--2000 Han-Wen Nienhuys + (c) 1997--2007 Han-Wen Nienhuys */ - #ifndef REST_HH #define REST_HH -#include "lily-guile.hh" +#include "grob-interface.hh" -/** - A pause. - - Properties +class Grob; - style -- string specifying glyph style - */ -class Rest +class Rest { public: - DECLARE_SCHEME_CALLBACK(after_line_breaking, (SCM )); - static bool has_interface (Score_element*); - DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM )); + DECLARE_SCHEME_CALLBACK (y_offset_callback, (SCM)); + DECLARE_GROB_INTERFACE(); + static string glyph_name (Grob *, int, string, bool); + static SCM brew_internal_stencil (Grob*, bool); + static SCM generic_extent_callback (Grob*, Axis); + DECLARE_SCHEME_CALLBACK (polyphonic_offset_callback, (SCM)); + DECLARE_SCHEME_CALLBACK (print, (SCM)); + DECLARE_SCHEME_CALLBACK (width, (SCM)); + DECLARE_SCHEME_CALLBACK (height, (SCM)); + DECLARE_SCHEME_CALLBACK (pure_height, (SCM, SCM, SCM)); }; #endif // REST_HH