* scm/beam.scm (check-slope-callbacks): check sign of slope.
[lilypond.git] / lily / group-interface.cc
blobff1a4a30b680b5554b89a82ac668bb7b03526894
1 /*
2 group-interface.cc -- implement Group_interface
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
9 #include "group-interface.hh"
10 #include "grob.hh"
12 void
13 Group_interface::add_thing (Grob*me, SCM sym, SCM thing)
15 me->add_to_list_property (sym, thing);
19 void
20 Group_interface::add_thing (Grob*me, String name, SCM thing)
22 add_thing (me, ly_symbol2scm (name.to_str0 ()), thing);
25 int
26 Group_interface::count (Grob *me, String name)
28 return scm_ilength (me->get_property (name.to_str0 ()));
32 void
33 Pointer_group_interface::add_grob (Grob*me, SCM name, Grob*p)
35 Group_interface::add_thing (me, name, p->self_scm ());