OLD | NEW |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--2015 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 #include "callback.hh" | 23 #include "callback.hh" |
24 #include "listener.hh" | 24 #include "listener.hh" |
25 #include "translator.hh" | 25 #include "translator.hh" |
26 | 26 |
27 class Translator_group : public Smob<Translator_group> | 27 class Translator_group : public Smob<Translator_group> |
28 { | 28 { |
29 public: | 29 public: |
30 SCM mark_smob () const; | 30 SCM mark_smob () const; |
31 int print_smob (SCM, scm_print_state *) const; | 31 int print_smob (SCM, scm_print_state *) const; |
32 static const char type_p_name_[]; | 32 static const char * const type_p_name_; |
33 virtual ~Translator_group (); | 33 virtual ~Translator_group (); |
34 private: | 34 private: |
35 void precompute_method_bindings (); | 35 void precompute_method_bindings (); |
36 vector<Method_instance> | 36 vector<Method_instance> |
37 precomputed_method_bindings_[TRANSLATOR_METHOD_PRECOMPUTE_COUNT]; | 37 precomputed_method_bindings_[TRANSLATOR_METHOD_PRECOMPUTE_COUNT]; |
38 | 38 |
39 SCM protected_events_; | 39 SCM protected_events_; |
40 | 40 |
41 void create_child_translator (SCM); | 41 void create_child_translator (SCM); |
42 | 42 |
(...skipping 28 matching lines...) Expand all Loading... |
71 void recurse_over_translators (Context *c, SCM tr_method, | 71 void recurse_over_translators (Context *c, SCM tr_method, |
72 SCM tr_group_method, Direction); | 72 SCM tr_group_method, Direction); |
73 void precomputed_recurse_over_translators (Context *c, Translator_precompute_ind
ex idx, Direction dir); | 73 void precomputed_recurse_over_translators (Context *c, Translator_precompute_ind
ex idx, Direction dir); |
74 Translator_group *get_translator_group (SCM sym); | 74 Translator_group *get_translator_group (SCM sym); |
75 | 75 |
76 #define foobar | 76 #define foobar |
77 #define ADD_TRANSLATOR_GROUP(classname, desc, grobs, read, write) foobar | 77 #define ADD_TRANSLATOR_GROUP(classname, desc, grobs, read, write) foobar |
78 | 78 |
79 | 79 |
80 #endif // TRANSLATOR_GROUP_HH | 80 #endif // TRANSLATOR_GROUP_HH |
OLD | NEW |