2 context-selector.hh -- declare Context_selector
4 source file of the LilyPond music typesetter
6 (c) 2004 Jan Nieuwenhuizen <janneke@gnu.org>
8 #ifndef CONTEXT_SELECTOR_HH
9 #define CONTEXT_SELECTOR_HH
11 #include "lily-guile.hh"
12 #include "lily-proto.hh"
16 * @register_context: register new #CONTEXT.
19 class Context_selector
21 static Scheme_hash_table *contexts_;
24 static void register_context (Context *context);
25 static SCM identify_context (Context *context, int count);
26 static SCM identify_context (Context *context);
27 static Context *retrieve_context (SCM context_id);
28 static void store_context (SCM context_id, Context *context);
29 static void set_tweaks (SCM tweaks);
32 #endif /* CONTEXT_SELECTOR_HH */