2 interface.hh -- declare Interface
4 source file of the GNU LilyPond music typesetter
6 (c) 2002--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include <libguile.h> /* SCM */
17 #define ADD_INTERFACE(cl, a, b, c) \
18 bool cl::has_interface(Grob*me)\
20 return me->internal_has_interface (ly_symbol2scm (a));\
22 void cl ## _init_ifaces() {\
23 add_interface(a, b, c);\
25 ADD_SCM_INIT_FUNC(cl ## ifaces, cl ## _init_ifaces);\
29 void add_interface (const char * symbol,
33 SCM ly_add_interface (SCM, SCM, SCM);
34 SCM ly_all_grob_interfaces();
36 #endif /* INTERFACE_HH */