X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fbar.hh;h=e87836a75c69ff20803c27a6bbd53fcbe51ba7e7;hb=a1e4212ea78b8074ceb58b4785ecdcaa7115b00c;hp=c9ab5d36ef4a3fc4d6092df3eff749c6017fe645;hpb=0af2486a28f1c60b9de929a9101964d880927e54;p=lilypond.git diff --git a/lily/include/bar.hh b/lily/include/bar.hh index c9ab5d36ef..e87836a75c 100644 --- a/lily/include/bar.hh +++ b/lily/include/bar.hh @@ -1,7 +1,7 @@ /* bar.hh -- part of GNU LilyPond - (c) 1996--2000 Han-Wen Nienhuys + (c) 1996--2004 Han-Wen Nienhuys */ #ifndef BAR_HH @@ -16,13 +16,13 @@ class Bar { public: - static bool has_interface (Score_element*); - static void set_interface (Score_element*); - static Molecule compound_barline (Score_element*, String, Real height) ; - static Molecule simple_barline (Score_element*, Real wid, Real height) ; - static SCM get_staff_bar_size (SCM); - static SCM brew_molecule (SCM); - static SCM before_line_breaking (SCM); + 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 )); }; #endif // BAR_HH