]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/translator-dispatch-list.hh
* lily/*.cc, lily/include/*.hh: eliminate dummy arguments from
[lilypond.git] / lily / include / translator-dispatch-list.hh
1 /*
2   translator-dispatch-list.hh -- declare Translator_dispatch_list
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2005--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef TRANSLATOR_DISPATCH_LIST_HH
10 #define TRANSLATOR_DISPATCH_LIST_HH
11
12 #include "lily-proto.hh"
13 #include "lily-guile.hh"
14 #include "std-vector.hh"
15 #include "smobs.hh"
16
17 struct Engraver_dispatch_entry
18 {
19   Engraver *engraver_;
20   Engraver_void_function_engraver_grob_info function_;
21 };
22
23 class Engraver_dispatch_list
24 {
25   vector<Engraver_dispatch_entry> dispatch_entries_;
26 public:
27   void apply (Grob_info);
28   SCM static create (SCM trans_list,
29                      SCM iface_list, Direction);
30
31   DECLARE_SIMPLE_SMOBS (Engraver_dispatch_list);
32 };
33
34 #endif /* TRANSLATOR_DISPATCH_LIST_HH */