2 interface.hh -- declare Interface
4 source file of the GNU LilyPond music typesetter
6 (c) 2002--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
14 void add_interface (const char * symbol,
18 SCM ly_add_interface (SCM, SCM, SCM);
20 #define ADD_INTERFACE(cl,a,b,c) \
21 bool cl::has_interface(Grob*me)\
23 return me->internal_has_interface (ly_symbol2scm (a));\
25 void cl ## _init_ifaces() {\
26 add_interface(a,b,c);\
28 ADD_SCM_INIT_FUNC(cl ## ifaces, cl ## _init_ifaces);\
31 #endif /* INTERFACE_HH */