]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/group-interface.cc
Uniformize, internalize.
[lilypond.git] / lily / group-interface.cc
index a62dde9a9c9f09fdea31a55f6e61761513629cb4..c498059fa2e344b31acdbd3a7ba4920a430fd4cd 100644 (file)
@@ -3,11 +3,11 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
+
 #include "group-interface.hh"
-#include "grob.hh"
 
 void
 Group_interface::add_thing (Grob*me, SCM sym, SCM thing)
@@ -16,16 +16,10 @@ Group_interface::add_thing (Grob*me, SCM sym, SCM thing)
 }
 
 
-void
-Group_interface::add_thing (Grob*me, String name, SCM thing)
-{
-  add_thing (me, ly_symbol2scm (name.to_str0 ()), thing);
-}
-
 int
-Group_interface::count (Grob *me, String name)
+Group_interface::count (Grob *me, SCM sym)
 {
-  return scm_ilength (me->get_grob_property (name.to_str0 ()));
+  return scm_ilength (me->internal_get_property (sym));
 }