2 tweak-registration.hh -- declare
4 source file of the GNU LilyPond music typesetter
6 (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef TWEAK_REGISTRATION_HH
10 #define TWEAK_REGISTRATION_HH
14 #include "lily-proto.hh"
15 #include "object-key.hh"
17 typedef std::map<Object_key const *, SCM, Object_key_less> Tweak_map;
22 Object_key_undumper *undumper_;
24 DECLARE_SMOBS (Tweak_registry,);
29 Object_key_undumper *undumper () const;
31 void insert_grob_tweak (Grob *, SCM);
32 void replace_grob_tweak (Grob *, SCM);
33 SCM get_tweaks (Grob *);
35 void insert_tweak_from_file (SCM);
38 extern Tweak_registry *global_registry_;
40 DECLARE_UNSMOB (Tweak_registry, tweak_registry);
42 #endif /* TWEAK_REGISTRATION_HH */