/*
bar.hh -- part of GNU LilyPond
- (c) 1996--2000 Han-Wen Nienhuys
+ (c) 1996--2003 Han-Wen Nienhuys
*/
#ifndef BAR_HH
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 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 ));
};
#endif // BAR_HH