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) 2004--2015 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2004--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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 SCM type_sym, const string &id); | 171 SCM type_sym, const string &id); |
172 | 172 |
173 // Search for a context of the given type and ID starting with the given | 173 // Search for a context of the given type and ID starting with the given |
174 // context, then searching its descendants, then its parent's descendants, etc. | 174 // context, then searching its descendants, then its parent's descendants, etc. |
175 // An empty ID matches any context of the given type. | 175 // An empty ID matches any context of the given type. |
176 Context *find_context_near (Context *where, | 176 Context *find_context_near (Context *where, |
177 SCM type_sym, const string &id); | 177 SCM type_sym, const string &id); |
178 | 178 |
179 // Search for the top context (i.e. the ancestor with no parent) starting with | 179 // Search for the top context (i.e. the ancestor with no parent) starting with |
180 // the given context. | 180 // the given context. |
181 Context *find_top_context (Context *where); | 181 Context &find_top_context (Context &where); |
182 | 182 |
183 bool melisma_busy (Context *); | 183 bool melisma_busy (Context *); |
184 | 184 |
185 Context *get_voice_to_lyrics (Context *lyrics); | 185 Context *get_voice_to_lyrics (Context *lyrics); |
186 Grob *get_current_note_head (Context *voice); | 186 Grob *get_current_note_head (Context *voice); |
187 Grob *get_current_rest (Context *voice); | 187 Grob *get_current_rest (Context *voice); |
188 | 188 |
189 Moment measure_position (Context const *context); | 189 Moment measure_position (Context const *context); |
190 Moment measure_position (Context const *context, Duration const *dur); | 190 Moment measure_position (Context const *context, Duration const *dur); |
191 Rational measure_length (Context const *context); | 191 Rational measure_length (Context const *context); |
(...skipping 14 matching lines...) Expand all Loading... |
206 SCM assq_tail (SCM key, SCM alist, SCM alist_end); | 206 SCM assq_tail (SCM key, SCM alist, SCM alist_end); |
207 SCM assv_tail (SCM key, SCM alist, SCM alist_end); | 207 SCM assv_tail (SCM key, SCM alist, SCM alist_end); |
208 SCM assoc_tail (SCM key, SCM alist, SCM alist_end); | 208 SCM assoc_tail (SCM key, SCM alist, SCM alist_end); |
209 SCM evict_from_alist (SCM, SCM, SCM); | 209 SCM evict_from_alist (SCM, SCM, SCM); |
210 SCM nalist_to_alist (SCM nalist, int nested); | 210 SCM nalist_to_alist (SCM nalist, int nested); |
211 extern SCM ly_context_set_property_x_proc; | 211 extern SCM ly_context_set_property_x_proc; |
212 extern SCM ly_context_unset_property_proc; | 212 extern SCM ly_context_unset_property_proc; |
213 extern SCM ly_context_matched_pop_property_proc; | 213 extern SCM ly_context_matched_pop_property_proc; |
214 | 214 |
215 #endif /* CONTEXT_HH */ | 215 #endif /* CONTEXT_HH */ |
OLD | NEW |