/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2003--2012 Juergen Reuter <reuter@ipd.uka.de>
+ Copyright (C) 2003--2015 Juergen Reuter <reuter@ipd.uka.de>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
class Coherent_ligature_engraver : public Ligature_engraver
{
public:
+ Coherent_ligature_engraver(Context *c)
+ : Ligature_engraver (c)
+ {}
// no TRANSLATOR_DECLARATIONS (Coherent_ligature_engraver) needed
// since this class is abstract
+ TRANSLATOR_INHERIT (Ligature_engraver);
+ DECLARE_TRANSLATOR_CALLBACKS (Coherent_ligature_engraver);
protected:
virtual void build_ligature (Spanner *ligature,
- vector<Grob_info> primitives) = 0;
+ vector<Grob_info> const &primitives) = 0;
virtual void typeset_ligature (Spanner *ligature,
- vector<Grob_info> primitives);
+ vector<Grob_info> const &primitives);
virtual void move_related_items_to_column (Item *, Paper_column *, Real);
private:
- void collect_accidentals (Spanner *, vector<Grob_info>);
+ void collect_accidentals (Spanner *, vector<Grob_info> const &);
};
#endif // COHERENT_LIGATURE_ENGRAVER_HH