X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbar.hh;h=72b2f1957fb65eecf677434f5e27fdfd98b273f1;hb=5bbca339abd8ca056f1360a829cc9798bd6ecd8b;hp=fa3330a15bc1e04799ee54833381cc8c2849bbd1;hpb=94189ec2b8da6d7e89dc619c646a927adead9b19;p=lilypond.git diff --git a/lily/include/bar.hh b/lily/include/bar.hh index fa3330a15b..72b2f1957f 100644 --- a/lily/include/bar.hh +++ b/lily/include/bar.hh @@ -1,28 +1,28 @@ /* bar.hh -- part of GNU LilyPond - (c) 1996--2001 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 void set_interface (Grob*); - static Molecule compound_barline (Grob*, String, Real height) ; - static Molecule simple_barline (Grob*, Real wid, Real height) ; - DECLARE_SCHEME_CALLBACK(get_staff_bar_size, (SCM )); - DECLARE_SCHEME_CALLBACK(brew_molecule, (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