-#include "proto.hh"
-#include "musical-request.hh"
-#include "extender-engraver.hh"
-#include "extender-spanner.hh"
-#include "score-column.hh"
-#include "g-text-item.hh"
+#include "flower-proto.hh"
+#include "event.hh"
+#include "lyric-extender.hh"
+#include "paper-column.hh"
+#include "item.hh"
+#include "engraver.hh"
+#include "drul-array.hh"
+#include "lyric-extender.hh"
+#include "pqueue.hh"
+
+
+/**
+ Generate an centred extender. Should make a Extender_spanner that
+ typesets a nice centred extender of varying length depending on the
+ gap between syllables.
+
+ We remember the last Item that come across. When we get a
+ event, we create the spanner, and attach the left point to the
+ last lyrics, and the right point to any lyrics we receive by
+ then. */
+class Extender_engraver : public Engraver
+{
+ Grob *last_lyric_;
+ Grob *current_lyric_;
+ Music* req_;
+ Spanner* extender_;
+public:
+ TRANSLATOR_DECLARATIONS(Extender_engraver);
+
+protected:
+ virtual void acknowledge_grob (Grob_info);
+ virtual void finalize ();
+ virtual bool try_music (Music*);
+ virtual void stop_translation_timestep ();
+ virtual void start_translation_timestep ();
+ virtual void process_music ();
+private:
+
+};
+
+