X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fbar.hh;h=72b2f1957fb65eecf677434f5e27fdfd98b273f1;hb=96e14d746b102f223acf6b6f4cdb8b0f0a11cd24;hp=e87836a75c69ff20803c27a6bbd53fcbe51ba7e7;hpb=402045837e7134cdf90d1fcf31768c62227a4936;p=lilypond.git diff --git a/lily/include/bar.hh b/lily/include/bar.hh index e87836a75c..72b2f1957f 100644 --- a/lily/include/bar.hh +++ b/lily/include/bar.hh @@ -1,28 +1,28 @@ /* bar.hh -- part of GNU LilyPond - (c) 1996--2004 Han-Wen Nienhuys + (c) 1996--2007 Han-Wen Nienhuys */ #ifndef BAR_HH #define BAR_HH -#include "lily-guile.hh" #include "lily-proto.hh" +#include "grob-interface.hh" /** - A vertical bar. - */ + A vertical bar. +*/ class Bar { public: - static bool has_interface (Grob*); - - static Stencil compound_barline (Grob*, String, Real height) ; - static Stencil simple_barline (Grob*, Real wid, Real height) ; - DECLARE_SCHEME_CALLBACK (get_staff_bar_size, (SCM )); - DECLARE_SCHEME_CALLBACK (print, (SCM )); - DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM )); + DECLARE_GROB_INTERFACE(); + + static Stencil compound_barline (Grob *, string, Real height); + static Stencil simple_barline (Grob *, Real wid, Real height); + DECLARE_SCHEME_CALLBACK (get_staff_bar_size, (SCM)); + DECLARE_SCHEME_CALLBACK (print, (SCM)); + DECLARE_SCHEME_CALLBACK (before_line_breaking, (SCM)); }; #endif // BAR_HH