X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fgroup-interface.hh;h=64476d0a0aefaabf0938f08d3585081577df6abb;hb=d9b43b93f2c885409bafdb157138158f65cc49aa;hp=c9fcde7aeece72c79c033d1d0d95df5872a53439;hpb=07a5ed85c189a97d04c550679826dfc5eca2eb18;p=lilypond.git diff --git a/lily/include/group-interface.hh b/lily/include/group-interface.hh index c9fcde7aee..64476d0a0a 100644 --- a/lily/include/group-interface.hh +++ b/lily/include/group-interface.hh @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 1999--2000 Han-Wen Nienhuys + (c) 1999--2002 Han-Wen Nienhuys */ @@ -13,8 +13,8 @@ #include "lily-proto.hh" #include "string.hh" #include "lily-guile.hh" -#include "smobs.hh" +#include "grob.hh" /** Look at Score element ELT as thing which has a list property called NAME_. Normally the list would contain Grobs, but @@ -27,19 +27,20 @@ struct Group_interface { public: static int count (Grob* , String); + static void add_thing (Grob*, SCM, SCM); static void add_thing (Grob*, String nm, SCM); }; struct Pointer_group_interface : public Group_interface { public: - static void add_element (Grob*, String nm, Grob*e); + static void add_grob (Grob*, SCM nm, Grob*e); }; /** Put all score elements of ELT's property called NAME into an array, and return it. */ template Link_array -Pointer_group_interface__extract_elements (Grob const *elt, T *, const char* name) +Pointer_group_interface__extract_grobs (Grob const *elt, T *, const char* name) { Link_array arr;