lilypond-0.1.16
[lilypond.git] / lily / span-score-bar-grav.cc
blob6f4d282330b0feaf2d826b6e4d8e88fca2b47be2
1 /*
2 span-score-bar-grav.cc -- implement Span_score_bar_engraver and Piano_bar_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8 #include "span-score-bar.hh"
9 #include "span-score-bar-grav.hh"
12 Span_bar*
13 Span_score_bar_engraver::get_span_bar_p() const
15 return new Span_score_bar;
19 IMPLEMENT_IS_TYPE_B1(Span_score_bar_engraver, Span_bar_engraver);
20 IMPLEMENT_IS_TYPE_B1(Piano_bar_engraver, Span_score_bar_engraver);
22 Span_bar*
23 Piano_bar_engraver::get_span_bar_p() const
25 return new Piano_brace;
28 ADD_THIS_TRANSLATOR(Piano_bar_engraver);
29 ADD_THIS_TRANSLATOR(Span_score_bar_engraver);