2 group-interface.cc -- implement Group_interface
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #include "group-interface.hh"
13 Group_interface::add_thing (Grob
*me
, SCM sym
, SCM thing
)
15 me
->add_to_list_property (sym
, thing
);
20 Group_interface::add_thing (Grob
*me
, String name
, SCM thing
)
22 add_thing (me
, ly_symbol2scm (name
.to_str0 ()), thing
);
26 Group_interface::count (Grob
*me
, String name
)
28 return scm_ilength (me
->get_grob_property (name
.to_str0 ()));
33 Pointer_group_interface::add_grob (Grob
*me
, SCM name
, Grob
*p
)
35 Group_interface::add_thing (me
, name
, p
->self_scm ());