2 tweak-registration.hh -- declare
4 source file of the GNU LilyPond music typesetter
6 (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
10 #ifndef TWEAK_REGISTRATION_HH
11 #define TWEAK_REGISTRATION_HH
15 #include "lily-proto.hh"
16 #include "object-key.hh"
18 typedef std::map<Object_key const*, SCM, Object_key_less> Tweak_map ;
23 Object_key_undumper *undumper_;
25 DECLARE_SMOBS(Tweak_registry, );
28 Object_key_undumper *undumper() const;
30 void insert_grob_tweak (Grob*, SCM);
31 SCM get_tweaks (Grob *);
33 void insert_tweak_from_file (SCM);
37 extern Tweak_registry *global_registry_;
39 DECLARE_UNSMOB(Tweak_registry, tweak_registry);
41 #endif /* TWEAK_REGISTRATION_HH */