/*
  span-score-bar-grav.cc -- implement Span_score_bar_engraver and Piano_bar_engraver

  source file of the GNU LilyPond music typesetter

  (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
*/

#include "span-score-bar.hh"
#include "span-score-bar-grav.hh"


Span_bar*
Span_score_bar_engraver::get_span_bar_p() const
{
  Span_bar*s =  new Span_score_bar;
  s->break_priority_i_ = -4;
    
  return s;
    
}


IMPLEMENT_IS_TYPE_B1(Span_score_bar_engraver, Span_bar_engraver);
IMPLEMENT_IS_TYPE_B1(Piano_bar_engraver, Span_score_bar_engraver);

Span_bar*
Piano_bar_engraver::get_span_bar_p() const
{
  Span_bar *s= new Piano_brace;
  s->break_priority_i_ = -4;
  return s;
}

ADD_THIS_TRANSLATOR(Piano_bar_engraver);
ADD_THIS_TRANSLATOR(Span_score_bar_engraver);
