-/*
+/*
gregorian-ligature-engraver.hh -- declare Gregorian_ligature_engraver
-
+
source file of the GNU LilyPond music typesetter
-
- (c) 2003 Juergen Reuter <reuter@ipd.uka.de>
-
- */
+
+ (c) 2003--2006 Juergen Reuter <reuter@ipd.uka.de>
+*/
#ifndef GREGORIAN_LIGATURE_ENGRAVER_HH
#define GREGORIAN_LIGATURE_ENGRAVER_HH
-#include "ligature-engraver.hh"
+#include "coherent-ligature-engraver.hh"
-class Gregorian_ligature_engraver : public Ligature_engraver
+class Gregorian_ligature_engraver : public Coherent_ligature_engraver
{
- Music *porrectus_req_;
+ Music *pes_or_flexa_req_;
public:
- TRANSLATOR_DECLARATIONS(Gregorian_ligature_engraver);
+ // no TRANSLATOR_DECLARATIONS (Gregorian_ligature_engraver) needed
+ // since this class is abstract
protected:
+ Gregorian_ligature_engraver ();
virtual bool try_music (Music *);
- virtual void typeset_ligature (Spanner *ligature,
- Array<Grob_info> primitives);
+ virtual void build_ligature (Spanner *ligature, Array<Grob_info> primitives);
virtual void transform_heads (Spanner *ligature,
- Array<Grob_info> primitives); /* abstract method */
- virtual void start_translation_timestep ();
- void get_set_column (Item *, Paper_column *);
+ Array<Grob_info> primitives) = 0;
+ void stop_translation_timestep ();
};
#endif // GREGORIAN_LIGATURE_ENGRAVER_HH