2 grace-iterator.cc -- implement Grace_iterator
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "grace-iterator.hh"
11 #include "global-translator.hh"
14 Grace_iterator::~Grace_iterator ()
20 Grace_iterator::construct_children ()
22 Translator_group
* t
= report_to_l ()->find_create_translator_l ("Grace", ""); // umgh.
26 Music_wrapper_iterator::construct_children ();
30 Grace_iterator::process (Moment
)
32 Global_translator
* t
= dynamic_cast<Global_translator
*>(report_to_l ());
36 t
->run_iterator_on_me (child_iter_p_
);
43 warning (_("no Grace context available"));
48 Grace_iterator::pending_moment () const
54 IMPLEMENT_CTOR_CALLBACK(Grace_iterator
);