X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fcoherent-ligature-engraver.hh;h=fb509dcb2260115ab74339f7174b85b7aca5fdd7;hb=2250c3af4ec6c31f65fc79d7d6d23d4ed2ab58a2;hp=cc3ed8d6951fa115b0fab960fab9583725fb81e3;hpb=08560a1b8076630c4fc6cb9b902614d8b74fd6fc;p=lilypond.git diff --git a/lily/include/coherent-ligature-engraver.hh b/lily/include/coherent-ligature-engraver.hh index cc3ed8d695..fb509dcb22 100644 --- a/lily/include/coherent-ligature-engraver.hh +++ b/lily/include/coherent-ligature-engraver.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2003--2012 Juergen Reuter + Copyright (C) 2003--2015 Juergen Reuter LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,17 +24,22 @@ 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 primitives) = 0; + vector const &primitives) = 0; virtual void typeset_ligature (Spanner *ligature, - vector primitives); + vector const &primitives); virtual void move_related_items_to_column (Item *, Paper_column *, Real); private: - void collect_accidentals (Spanner *, vector); + void collect_accidentals (Spanner *, vector const &); }; #endif // COHERENT_LIGATURE_ENGRAVER_HH