2 ligature-engraver.hh -- declare Ligature_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 2002 Juergen Reuter <reuter@ipd.uka.de>
9 #ifndef LIGATUREENGRAVER_HH
10 #define LIGATUREEENGRAVER_HH
12 #include "engraver.hh"
14 class Ligature_engraver : public Engraver
17 virtual void stop_translation_timestep ();
18 virtual void start_translation_timestep ();
19 virtual void finalize ();
21 virtual void acknowledge_grob (Grob_info);
22 virtual bool try_music (Music*);
23 virtual void process_music ();
24 virtual void try_stop_ligature ();
25 virtual Spanner *create_ligature_spanner ();
27 Spanner *finished_ligature_p_;
29 SCM brew_ligature_primitive_proc;
32 TRANSLATOR_DECLARATIONS(Ligature_engraver);
35 Drul_array<Span_req*> reqs_drul_;
37 Span_req *prev_start_req_;
39 // moment where ligature started.
40 Moment ligature_start_mom_;
46 #endif // ENGRAVERGROUP_HH