/*
  staffline.cc -- implement Line_of_staff

  source file of the GNU LilyPond music typesetter

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

#include "staffline.hh"
#include "scoreline.hh"
#include "dimen.hh"
#include "spanner.hh"
#include "symbol.hh"
#include "paper-def.hh"
#include "molecule.hh"
#include "p-col.hh"
#include "p-score.hh"


IMPLEMENT_STATIC_NAME(Line_of_staff);
IMPLEMENT_IS_TYPE_B2(Line_of_staff,Spanner,Horizontal_vertical_group);

void
Line_of_staff::add_element(Score_elem*elem_l)
{
    if (!elem_l->y_group_element_i_)
	Horizontal_vertical_group::add_element(elem_l);
}
