3 global-performers.hh -- declare global performer stuff
5 source file of the GNU LilyPond music typesetter
7 (c) 1996, 1997 Han-Wen Nienhuys <hanwen@stack.nl>
8 Jan Nieuwenhuizen <jan@digicash.com>
11 #ifndef GLOBAL_PERFORMER_HH
12 #define GLOBAL_PERFORMER_HH
15 A macro to automate administration of performers
17 #define ADD_THIS_PERFORMER( c ) \
19 static Performer* globalctor () \
25 add_Performer( c::static_name(), globalctor ); \
29 // typedef Performer*(*Perf_ctor)(void); c++ ?
30 typedef Performer*(*Perf_ctor)();
31 void add_Performer(String s, Perf_ctor f);
33 #endif // GLOBAL_PERFORMER_HH