/*
bar.hh -- part of GNU LilyPond
- (c) 1996--2003 Han-Wen Nienhuys
+ (c) 1996--2006 Han-Wen Nienhuys
*/
#ifndef BAR_HH
#include "lily-proto.hh"
/**
- A vertical bar.
- */
+ A vertical bar.
+*/
class Bar
{
public:
- 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 ));
+ 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