2 interface.hh -- declare Interface
4 source file of the GNU LilyPond music typesetter
6 (c) 2002--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
12 #include "lily-guile.hh"
14 #define ADD_INTERFACE(cl, a, b, c) \
15 bool cl::has_interface (Grob *me) \
17 return me->internal_has_interface (ly_symbol2scm (a)); \
19 void cl ## _init_ifaces () \
21 add_interface (a, b, c); \
23 ADD_SCM_INIT_FUNC (cl ## ifaces, cl ## _init_ifaces);
25 void add_interface (char const *symbol,
29 SCM ly_add_interface (SCM, SCM, SCM);
30 SCM ly_all_grob_interfaces ();
32 #endif /* INTERFACE_HH */